Name : perl-Text-Diff-Parser
| |
Version : 0.1001
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.7.1
| Date : 2024-07-03 19:12:03
|
Group : Development/Libraries/Perl
| Source RPM : perl-Text-Diff-Parser-0.1001-lp156.7.1.src.rpm
|
Size : 0.02 MB
| |
Packager : https://www_suse_com/
| |
Summary : Parse patch files containing unified and standard diffs
|
Description :
\'Text::Diff::Parser\' parses diff files and patches. It allows you to access the changes to a file in a standardized way, even if multiple patch formats are used.
A diff may be viewed a series of operations on a file, either adding, removing or modifying lines of one file (the \'from-file\') to produce another file (the \'to-file\'). Diffs are generaly produced either by hand with diff, or by your version control system (\'cvs diff\', \'svn diff\', ...). Some diff formats, notably unified diffs, also contain null operations, that is lines that
\'Text::Diff::Parser\' currently parses unified diff format and standard diff format.
Unified diffs look like the following.
--- Filename1 2006-04-12 18:47:22.000000000 -0400 +++ Filename2 2006-04-12 19:21:16.000000000 -0400 AATTAATT -1,4 +1,6 AATTAATT ONE TWO -THREE +honk FOUR +honk +honk
Standard diffs look like the following.
diff something something.4 3c3 < THREE --- > honk 4a5,6 > honk > honk
The diff line isn\'t in fact part of the format but is necessary to find which files the chunks deal with. It is output by \'cvs diff\' and \'svn diff\' so that isn\'t a problem.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |