Метод | Описание | |
---|---|---|
Add ( this refsColl, string name, string canonicalRefNameOrObjectish, Signature signature, string logMessage, bool allowOverwrite = false ) : System.Reference |
Creates a direct or symbolic reference with the specified name and target
|
|
Add ( this refsColl, string name, string canonicalRefNameOrObjectish, bool allowOverwrite = false ) : System.Reference |
Creates a direct or symbolic reference with the specified name and target
|
|
ReachableFrom ( this refsColl, IEnumerable |
Find the References that can reach at least one Commit in the specified targets.
|
|
ReachableFrom ( this refsColl, IEnumerable |
Find the References among refSubset that can reach at least one Commit in the specified targets.
|
|
Remove ( this refsColl, string name ) : void |
Delete a reference with the specified name
|
|
Rename ( this refsColl, string currentName, string newName, Signature signature = null, string logMessage = null, bool allowOverwrite = false ) : System.Reference |
Rename an existing reference with a new name
|
|
UpdateTarget ( this refsColl, System.Reference directRef, string objectish ) : System.Reference |
Updates the target of a direct reference
|
|
UpdateTarget ( this refsColl, System.Reference directRef, string objectish, Signature signature, string logMessage ) : System.Reference |
Updates the target of a direct reference.
|
|
UpdateTarget ( this refsColl, string name, string canonicalRefNameOrObjectish ) : System.Reference |
Updates the target of a reference
|
|
UpdateTarget ( this refsColl, string name, string canonicalRefNameOrObjectish, Signature signature, string logMessage ) : System.Reference |
Updates the target of a reference
|
Метод | Описание | |
---|---|---|
Move ( this refsColl, string currentName, string newName, Signature signature = null, string logMessage = null, bool allowOverwrite = false ) : System.Reference | ||
TryResolveReference ( System.Reference &reference, ReferenceCollection refsColl, string canonicalName ) : RefState |
public static Add ( this refsColl, string name, string canonicalRefNameOrObjectish, Signature signature, string logMessage, bool allowOverwrite = false ) : System.Reference | ||
refsColl | this | The |
name | string | The name of the reference to create. |
canonicalRefNameOrObjectish | string | The target which can be either the canonical name of a reference or a revparse spec. |
signature | Signature | The identity used for updating the reflog |
logMessage | string | The optional message to log in the |
allowOverwrite | bool | True to allow silent overwriting a potentially existing reference, false otherwise. |
Результат | System.Reference |
public static Add ( this refsColl, string name, string canonicalRefNameOrObjectish, bool allowOverwrite = false ) : System.Reference | ||
refsColl | this | The |
name | string | The name of the reference to create. |
canonicalRefNameOrObjectish | string | The target which can be either the canonical name of a reference or a revparse spec. |
allowOverwrite | bool | True to allow silent overwriting a potentially existing reference, false otherwise. |
Результат | System.Reference |
public static ReachableFrom ( this refsColl, IEnumerable |
||
refsColl | this | The |
targets | IEnumerable |
The set of |
Результат | IEnumerable |
public static ReachableFrom ( this refsColl, IEnumerable |
||
refsColl | this | The |
refSubset | IEnumerable |
The set of |
targets | IEnumerable |
The set of |
Результат | IEnumerable |
public static Remove ( this refsColl, string name ) : void | ||
refsColl | this | The |
name | string | The canonical name of the reference to delete. |
Результат | void |
public static Rename ( this refsColl, string currentName, string newName, Signature signature = null, string logMessage = null, bool allowOverwrite = false ) : System.Reference | ||
refsColl | this | The |
currentName | string | The canonical name of the reference to rename. |
newName | string | The new canonical name. |
signature | Signature | The identity used for updating the reflog |
logMessage | string | The optional message to log in the |
allowOverwrite | bool | True to allow silent overwriting a potentially existing reference, false otherwise. |
Результат | System.Reference |
public static UpdateTarget ( this refsColl, System.Reference directRef, string objectish ) : System.Reference | ||
refsColl | this | The |
directRef | System.Reference | The direct reference which target should be updated. |
objectish | string | The revparse spec of the target. |
Результат | System.Reference |
public static UpdateTarget ( this refsColl, System.Reference directRef, string objectish, Signature signature, string logMessage ) : System.Reference | ||
refsColl | this | The |
directRef | System.Reference | The direct reference which target should be updated. |
objectish | string | The revparse spec of the target. |
signature | Signature | The identity used for updating the reflog |
logMessage | string | The optional message to log in the |
Результат | System.Reference |
public static UpdateTarget ( this refsColl, string name, string canonicalRefNameOrObjectish ) : System.Reference | ||
refsColl | this | The |
name | string | The canonical name of the reference. |
canonicalRefNameOrObjectish | string | The target which can be either the canonical name of a reference or a revparse spec. |
Результат | System.Reference |
public static UpdateTarget ( this refsColl, string name, string canonicalRefNameOrObjectish, Signature signature, string logMessage ) : System.Reference | ||
refsColl | this | The |
name | string | The canonical name of the reference. |
canonicalRefNameOrObjectish | string | The target which can be either the canonical name of a reference or a revparse spec. |
signature | Signature | The identity used for updating the reflog |
logMessage | string | The optional message to log in the |
Результат | System.Reference |