C# Class dotGit.Objects.Tree

Represents a tree in a git repository. Has Children of type TreeNode which can either be a blog or a tree.
Inheritance: TreeNode
Afficher le fichier Open project: schacon/dotgit Class Usage Examples

Méthodes publiques

Méthode Description
Deserialize ( GitObjectReader input ) : void

Loads the tree from the GitObjectReader. The child objects themselves will be lazy loaded

Serialize ( ) : byte[]

Private Methods

Méthode Description
LoadChildren ( ) : void

Gets called be the Children getter for lazy loading

Tree ( Repository repo ) : System
Tree ( Repository repo, string sha ) : System

Method Details

Deserialize() public méthode

Loads the tree from the GitObjectReader. The child objects themselves will be lazy loaded
public Deserialize ( GitObjectReader input ) : void
input GitObjectReader A reader with inflated tree contents
Résultat void

Serialize() public méthode

public Serialize ( ) : byte[]
Résultat byte[]