class documentation
class FilePatch:
Represents a patch for a single file.
| Instance Variable | binary |
True if this is a binary patch |
| Instance Variable | binary |
New binary content for binary patches (base85 encoded) |
| Instance Variable | binary |
Old binary content for binary patches (base85 encoded) |
| Instance Variable | copy |
Source path for copies (None if not a copy) |
| Instance Variable | copy |
Destination path for copies (None if not a copy) |
| Instance Variable | hunks |
List of PatchHunk objects |
| Instance Variable | new |
Mode of new file (None for deleted files) |
| Instance Variable | new |
Path to new file (None for deleted files) |
| Instance Variable | old |
Mode of old file (None for new files) |
| Instance Variable | old |
Path to old file (None for new files) |
| Instance Variable | rename |
Original path for renames (None if not a rename) |
| Instance Variable | rename |
New path for renames (None if not a rename) |