Property | Type | Description | |
---|---|---|---|
NoAlternates | GitSharp.Core.ObjectDatabase[] |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
OpenObjectInAllPacks ( ICollection |
Open the object from all packs containing it.
|
|
OpenObjectInAllPacksImplementation ( ICollection |
Open the object from all packs containing it.
|
|
close ( ) : void |
Close any resources held by this database and its active alternates.
|
|
closeAlternates ( ) : void |
Fully close all loaded alternates and clear the alternate list.
|
|
closeSelf ( ) : void |
Close any resources held by this database only; ignoring alternates.
|
|
create ( ) : void |
Initialize a new object database at this location.
|
|
exists ( ) : bool |
Gets if this database is already created; If it returns false, the caller should invoke create to create this database location.
|
|
getAlternates ( ) : GitSharp.Core.ObjectDatabase[] |
Get the alternate databases known to this database.
|
|
hasObject ( AnyObjectId objectId ) : bool |
Does the requested object exist in this database?
|
|
hasObject1 ( AnyObjectId objectId ) : bool |
Fast half of hasObject(AnyObjectId).
|
|
hasObject2 ( string objectName ) : bool |
Slow half of hasObject(AnyObjectId).
|
|
loadAlternates ( ) : GitSharp.Core.ObjectDatabase[] |
Load the list of alternate databases into memory.
|
|
openObject ( GitSharp.Core.WindowCursor curs, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader |
Open an object from this database.
|
|
openObject1 ( GitSharp.Core.WindowCursor curs, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader |
Fast half of openObject(WindowCursor, AnyObjectId).
|
|
openObject2 ( GitSharp.Core.WindowCursor curs, string objectName, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader |
Slow half of openObject(WindowCursor, AnyObjectId).
|
|
tryAgain1 ( ) : bool |
true if the fast-half search should be tried again.
|
Method | Description | |
---|---|---|
ObjectDatabase ( ) : System |
Initialize a new database instance for access.
|
|
closeAlternates ( |
Method | Description | |
---|---|---|
OpenObjectImpl1 ( GitSharp.Core.WindowCursor curs, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader | ||
OpenObjectImpl2 ( GitSharp.Core.WindowCursor curs, string objectName, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader | ||
hasObjectImpl1 ( AnyObjectId objectId ) : bool | ||
hasObjectImpl2 ( string objectId ) : bool |
public OpenObjectInAllPacks ( ICollection |
||
@out | ICollection |
|
windowCursor | GitSharp.Core.WindowCursor | /// Temporary working space associated with the calling thread. /// |
objectId | AnyObjectId | |
return | void |
public OpenObjectInAllPacksImplementation ( ICollection |
||
@out | ICollection |
|
windowCursor | GitSharp.Core.WindowCursor | /// Temporary working space associated with the calling thread. /// |
objectId | AnyObjectId | |
return | void |
protected closeAlternates ( |
||
alt | ||
return | void |
public getAlternates ( ) : GitSharp.Core.ObjectDatabase[] | ||
return | GitSharp.Core.ObjectDatabase[] |
public hasObject ( AnyObjectId objectId ) : bool | ||
objectId | AnyObjectId | identity of the object to test for existence of. |
return | bool |
public abstract hasObject1 ( AnyObjectId objectId ) : bool | ||
objectId | AnyObjectId | /// Identity of the object to test for existence of. /// |
return | bool |
public hasObject2 ( string objectName ) : bool | ||
objectName | string | /// Identity of the object to test for existence of. /// |
return | bool |
public loadAlternates ( ) : GitSharp.Core.ObjectDatabase[] | ||
return | GitSharp.Core.ObjectDatabase[] |
public openObject ( GitSharp.Core.WindowCursor curs, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader | ||
curs | GitSharp.Core.WindowCursor | /// Temporary working space associated with the calling thread. /// |
objectId | AnyObjectId | Identity of the object to open. |
return | GitSharp.Core.ObjectLoader |
public abstract openObject1 ( GitSharp.Core.WindowCursor curs, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader | ||
curs | GitSharp.Core.WindowCursor | /// temporary working space associated with the calling thread. /// |
objectId | AnyObjectId | identity of the object to open. |
return | GitSharp.Core.ObjectLoader |
public openObject2 ( GitSharp.Core.WindowCursor curs, string objectName, AnyObjectId objectId ) : GitSharp.Core.ObjectLoader | ||
curs | GitSharp.Core.WindowCursor | /// temporary working space associated with the calling thread. /// |
objectName | string | Name of the object to open. |
objectId | AnyObjectId | identity of the object to open. |
return | GitSharp.Core.ObjectLoader |