Ggit.IndexEntriesResolveUndo¶
Fields¶
None
Methods¶
  | 
|
  | 
|
  | 
|
  | 
|
  | 
Details¶
- class Ggit.IndexEntriesResolveUndo¶
 Represents the resolve undo entries in an index object.
- get(idx)¶
 - Parameters:
 idx (
int) – the index of the entry.- Returns:
 - Return type:
 
Get a
Ggit.IndexEntryResolveUndoby index. Note that the returnedGgit.IndexEntryResolveUndois _only_ valid as long as:The associated index has been closed
The entry has not been removed (see
Ggit.Index.remove())The index has not been refreshed (see
Ggit.Index.read())
- get_by_file(file)¶
 - Parameters:
 - Returns:
 - Return type:
 
Get an resolve_undo entry specified by path. The returned entry is read only and should not be modified by the caller. If the entry could not be found,
Noneis returned.
- ref()¶
 - Returns:
 - Return type:
 
Atomically increments the reference count of self by one. This function is MT-safe and may be called from any thread.
- size()¶
 - Returns:
 the number of entries.
- Return type:
 
Get the number of
Ggit.IndexEntryResolveUndoentries.
- unref()¶
 Atomically decrements the reference count of self by one. If the reference count drops to 0, self is freed.