C# 클래스 GitSharp.Core.Commit

Instances of this class represent a Commit object. It represents a snapshot in a Git repository, who created it and when.
상속: Treeish
파일 보기 프로젝트 열기: stschake/GitSharp 1 사용 예제들

공개 메소드들

메소드 설명
Commit ( Repository db ) : System

Create an empty commit object. More information must be fed to this object to make it useful.

Commit ( Repository db, ObjectId parentIds ) : System

Create a commit associated with these parents and associate it with a repository.

Commit ( Repository db, ObjectId id, byte raw ) : System

Create a commit object with the specified id and data from an existing commit object in a repository.

Save ( ) : void

Persist this commit object

ToString ( ) : string

비공개 메소드들

메소드 설명
Decode ( ) : void
ExtractTrailingBytes ( byte source, string prefix ) : byte[]

메소드 상세

Commit() 공개 메소드

Create an empty commit object. More information must be fed to this object to make it useful.
public Commit ( Repository db ) : System
db Repository /// The repository with which to associate it. ///
리턴 System

Commit() 공개 메소드

Create a commit associated with these parents and associate it with a repository.
public Commit ( Repository db, ObjectId parentIds ) : System
db Repository /// The repository to which this commit object belongs. ///
parentIds ObjectId /// Id's of the parent(s). ///
리턴 System

Commit() 공개 메소드

Create a commit object with the specified id and data from an existing commit object in a repository.
public Commit ( Repository db, ObjectId id, byte raw ) : System
db Repository /// The repository to which this commit object belongs. ///
id ObjectId Commit id.
raw byte Raw commit object data.
리턴 System

Save() 공개 메소드

Persist this commit object
public Save ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string