GitIndexEntry class

Constructors

GitIndexEntry({required DateTime cTime, required DateTime mTime, required int dev, required int ino, required GitFileMode mode, required int uid, required int gid, required int fileSize, required GitHash hash, GitFileStage stage = GitFileStage.Merged, required String path, bool skipWorkTree = false, bool intentToAdd = false})

Properties

cTime DateTime
getter/setter pair
dev int
getter/setter pair
fileSize int
getter/setter pair
gid int
getter/setter pair
hash GitHash
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
ino int
getter/setter pair
intentToAdd bool
getter/setter pair
mode GitFileMode
getter/setter pair
mTime DateTime
getter/setter pair
path String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
skipWorkTree bool
getter/setter pair
stage GitFileStage
getter/setter pair
uid int
getter/setter pair

Methods

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

Operators

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

Static Methods

fromBytes(int versionNo, int indexFileSize, ByteDataReader reader, GitIndexEntry? lastEntry) GitIndexEntry
fromFS(String path, FileStat stat, GitHash hash) GitIndexEntry