Namespaces

Types in GitSharp

Type Tree

Namespace GitSharp

Parent AbstractObject

Interfaces ITreeNode

Represents a directory in the git repository.

Properties

Public properties

IEnumerable<AbstractObject> Children get;

Entries of the tree. These are either Tree or Leaf objects representing sub-directories or files.

string Hash get;

bool IsBlob get;

bool IsCommit get;

bool IsRoot get;

True if the tree has no parent.

bool IsTag get;

bool IsTree get;

AbstractObject Item get;

Find a Blob or Tree by traversing the tree along the given path. You can access not only direct children of the tree but any descendant of this tree.

The path's directory seperators may be both forward or backslash, it is converted automatically to the internal representation.

Throws IOException.

IEnumerable<Leaf> Leaves get;

Leaf entries representing this directory's files

string Name get;

Tree Parent get;

string Path get;

int Permissions get;

Repository Repository get;

string ShortHash get;

IEnumerable<Tree> Trees get;

Tree entries representing this directory's subdirectories