C# Class GitSharp.Core.RevPlot.PlotCommit

A commit reference to a commit in the DAG.
Inheritance: GitSharp.Core.RevWalk.RevCommit
显示文件 Open project: stschake/GitSharp Class Usage Examples

Public Properties

Property Type Description
children GitSharp.Core.RevPlot.PlotCommit[]
lane PlotLane
passingLanes GitSharp.Core.RevPlot.PlotLane[]
refs Ref[]

Public Methods

Method Description
PlotCommit ( AnyObjectId id, Ref tags ) : GitSharp.Core.RevWalk

Create a new commit.

addChild ( PlotCommit c ) : void
addPassingLane ( PlotLane c ) : void
getChild ( int nth ) : PlotCommit

Get the nth child from this commit's child list.

getChildCount ( ) : int

Get the number of child commits listed in this commit.

getLane ( ) : PlotLane

Obtain the lane this commit has been plotted into.

isChild ( PlotCommit c ) : bool

Determine if the given commit is a child (descendant) of this commit.

reset ( ) : void

Method Details

PlotCommit() public method

Create a new commit.
public PlotCommit ( AnyObjectId id, Ref tags ) : GitSharp.Core.RevWalk
id AnyObjectId the identity of this commit.
tags Ref the tags associated with this commit, null for no tags
return GitSharp.Core.RevWalk

addChild() public method

public addChild ( PlotCommit c ) : void
c PlotCommit
return void

addPassingLane() public method

public addPassingLane ( PlotLane c ) : void
c PlotLane
return void

getChild() public method

Get the nth child from this commit's child list.
public getChild ( int nth ) : PlotCommit
nth int child index to obtain. Must be in the range 0 through () - 1
return PlotCommit

getChildCount() public method

Get the number of child commits listed in this commit.
public getChildCount ( ) : int
return int

getLane() public method

Obtain the lane this commit has been plotted into.
public getLane ( ) : PlotLane
return PlotLane

isChild() public method

Determine if the given commit is a child (descendant) of this commit.
public isChild ( PlotCommit c ) : bool
c PlotCommit the commit to test.
return bool

reset() public method

public reset ( ) : void
return void

Property Details

children public_oe property

public PlotCommit[],GitSharp.Core.RevPlot children
return GitSharp.Core.RevPlot.PlotCommit[]

lane public_oe property

public PlotLane,GitSharp.Core.RevPlot lane
return PlotLane

passingLanes public_oe property

public PlotLane[],GitSharp.Core.RevPlot passingLanes
return GitSharp.Core.RevPlot.PlotLane[]

refs public_oe property

public Ref[] refs
return Ref[]