C# Class dotGit.Objects.Commit

A Commit references a tree which is a copy of the working directory
Inheritance: GitObject
Show file Open project: schacon/dotgit Class Usage Examples

Public Methods

Method Description
Deserialize ( GitObjectReader input ) : void

Loads the commit from the GitObjectReader

Serialize ( ) : byte[]

Private Methods

Method Description
Commit ( Repository repo ) : System
Commit ( Repository repo, string sha ) : System
LoadParents ( ) : void

Called from the Parents getter for lazy loading

Method Details

Deserialize() public method

Loads the commit from the GitObjectReader
public Deserialize ( GitObjectReader input ) : void
input GitObjectReader A reader with inflated commit contents
return void

Serialize() public method

public Serialize ( ) : byte[]
return byte[]