Метод | Описание | |
---|---|---|
ClearCache ( ) : void | ||
Create ( ) : void | ||
GetAllRefs ( ) : Ref>.Dictionary |
Gets all known refs (heads, tags, remotes).
|
|
GetBranches ( ) : Ref>.Dictionary |
||
GetRemotes ( ) : Ref>.Dictionary |
||
GetTags ( ) : Ref>.Dictionary |
Gets all tags; key is short tag name ("v1.0") and value of the entry contains the ref with the full tag name ("refs/tags/v1.0").
|
|
IdOf ( string name ) : |
||
Link ( string name, string target ) : void |
Writes a symref (e.g. HEAD) to disk * @param name
|
|
NewRename ( string fromRef, string toRef ) : GitSharp.Core.RefRename |
An set of update operations for renaming a ref
|
|
NewUpdate ( string name ) : |
Create a command to update, create or delete a ref in this repository.
|
|
NewUpdate ( string name, bool detach ) : |
Create a command to update, create or delete a ref in this repository.
|
|
ReadRef ( string partialName ) : |
||
RefDatabase ( |
||
RemovePackedRef ( String name ) : void |
Метод | Описание | |
---|---|---|
FileForRef ( string name ) : |
||
LockAndWriteFile ( |
||
OpenReader ( |
||
Peel ( |
Returns the object that this object points to if this is a commit.
|
|
ReadLine ( |
||
ReadLooseRefs ( Ref>.IDictionary |
||
ReadPackedRefs ( Ref>.ICollection |
||
ReadRefBasic ( String origName, string name, int depth ) : |
||
ReadRefBasic ( string name, int depth ) : |
||
ReadRefs ( ) : Ref>.Dictionary |
||
RefreshPackedRefs ( ) : void | ||
SetModified ( ) : void | ||
Stored ( string origName, string name, |
||
UncacheRef ( string name ) : void | ||
UncacheSymRef ( string name ) : void | ||
WritePackedRefs ( ) : void |
public Link ( string name, string target ) : void | ||
name | string | symref name |
target | string | pointed to ref |
Результат | void |
public NewRename ( string fromRef, string toRef ) : GitSharp.Core.RefRename | ||
fromRef | string | Old ref name |
toRef | string | New ref name |
Результат | GitSharp.Core.RefRename |
public NewUpdate ( string name ) : |
||
name | string | /// name of the ref the caller wants to modify. /// |
Результат |
public NewUpdate ( string name, bool detach ) : |
||
name | string | name of the ref the caller wants to modify. |
detach | bool | true to detach the ref, i.e. replace symref with object ref |
Результат |
public ReadRef ( string partialName ) : |
||
partialName | string | |
Результат |
public RefDatabase ( |
||
repo | ||
Результат | System |
public RemovePackedRef ( String name ) : void | ||
name | String | |
Результат | void |