DiffFile class

Description of one side of a delta.

Although this is called a "file", it could represent a file, a symbolic link, a submodule commit id, or even a tree (although that only if you are tracking type changes or ignored/untracked directories).

Annotations

Properties

flags Set<GitDiffFlag>
Flags for the diff file object.
no setter
hashCode int
The hash code for this object.
no setterinherited
mode GitFilemode
One of the GitFilemode values.
no setter
oid Oid
Oid of the item. If the entry represents an absent side of a diff then the oid will be zeroes.
no setter
path String
Path to the entry relative to the working directory of the repository.
no setter
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size int
Size of the entry in bytes.
no setter
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.

Operators

operator ==(Object other) bool
The equality operator.
inherited