Object.TreeEntry

Represents an entry in a parsed Git commit object.

Members

Functions

opCmp
int opCmp(TreeEntry b)

Implements comparison using sortName.

Properties

sortName
string sortName [@property getter]

Sort key to be used when constructing a tree object.

Variables

hash
OID hash;

Object identifier of the entry's contents. Could be a tree or blob ID.

mode
uint mode;

POSIX mode. E.g., will be 100644 or 100755 for files.

name
string name;

Name within this subtree.

Meta