C# Class Git.Core.Tree

A class that stores a tree of a commit
Inheritance: Object
Show file Open project: igorgue/git-sharp Class Usage Examples

Public Methods

Method Description
SortEnties ( ) : void
ToString ( ) : string

This means that is a tree that doesn't cotains children trees

Tree ( ) : System

We need to create a empty tree to "test"

Tree ( byte content ) : System

Protected Methods

Method Description
Decode ( ) : byte[]
Encode ( byte content ) : void

Private Methods

Method Description
AddEntry ( byte data ) : void
AddEntry ( byte mode, string name, SHA1 id ) : void
GetTreeEntry ( string name ) : TreeEntry
RemoveEntry ( string name ) : bool

Method Details

Decode() protected method

protected Decode ( ) : byte[]
return byte[]

Encode() protected method

protected Encode ( byte content ) : void
content byte
return void

SortEnties() public method

public SortEnties ( ) : void
return void

ToString() public method

This means that is a tree that doesn't cotains children trees
public ToString ( ) : string
return string

Tree() public method

We need to create a empty tree to "test"
public Tree ( ) : System
return System

Tree() public method

public Tree ( byte content ) : System
content byte
return System