C# Class GitSharp.Core.Transport.IndexPack

Inheritance: IDisposable
Afficher le fichier Open project: jagregory/GitSharp Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
IndexPack ( Repository db, Stream src, FileInfo dstBase ) : System
index ( ProgressMonitor progress ) : void
renameAndOpenPack ( string lockMessage ) : PackLock
renameAndOpenPack ( ) : void
setFixThin ( bool fix ) : void
setIndexVersion ( int version ) : void
setKeepEmpty ( bool empty ) : void
setObjectChecker ( ObjectChecker oc ) : void
setObjectChecking ( bool on ) : void

Private Methods

Méthode Description
CleanupTemporaryFiles ( ) : void
Corrupt ( IOException e ) : GitSharp.Core.Exceptions.CorruptObjectException
Create ( Repository db, Stream stream ) : IndexPack
CreateTempFile ( string pre, string suf, DirectoryInfo dir ) : FileInfo
EndInput ( ) : void
FillFromFile ( int need ) : int
FillFromInput ( int need ) : int
FixHeaderFooter ( IEnumerable origcsum, IEnumerable tailcsum ) : void
FixThinPack ( ProgressMonitor progress ) : void
GetIndexFileName ( string fileName ) : string
GetPackFileName ( string fileName ) : string
GrowEntries ( ) : void
IndexOneObject ( ) : void
InflateFromFile ( long size ) : byte[]
InflateFromInput ( int size ) : byte[]
Position ( ) : long
Position ( long pos ) : void
ReadFromFile ( ) : int
ReadFromInput ( ) : int
ReadPackFooter ( ) : void
ReadPackHeader ( ) : void
RemoveBaseById ( AnyObjectId id ) : UnresolvedDelta
ResolveChildDeltaChain ( int type, byte data, UnresolvedDelta a ) : void
ResolveChildDeltas ( long pos, int type, byte data, AnyObjectId objectId ) : void
ResolveDeltas ( PackedObjectInfo objectInfo ) : void
ResolveDeltas ( ProgressMonitor progress ) : void
ResolveDeltas ( long pos, int oldCrc, int type, byte data, PackedObjectInfo oe ) : void
Reverse ( UnresolvedDelta c ) : UnresolvedDelta
SkipInflateFromInput ( long sz ) : void
Sync ( ) : void
Use ( int cnt ) : void
VerifySafeObject ( AnyObjectId id, int type, byte data ) : void
Whole ( int type, long pos, long sz ) : void
WriteIdx ( ) : void
WriteWhole ( Deflater def, int typeCode, byte data ) : void

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

IndexPack() public méthode

public IndexPack ( Repository db, Stream src, FileInfo dstBase ) : System
db Repository
src Stream
dstBase System.IO.FileInfo
Résultat System

index() public méthode

public index ( ProgressMonitor progress ) : void
progress ProgressMonitor
Résultat void

renameAndOpenPack() public méthode

public renameAndOpenPack ( string lockMessage ) : PackLock
lockMessage string
Résultat PackLock

renameAndOpenPack() public méthode

public renameAndOpenPack ( ) : void
Résultat void

setFixThin() public méthode

public setFixThin ( bool fix ) : void
fix bool
Résultat void

setIndexVersion() public méthode

public setIndexVersion ( int version ) : void
version int
Résultat void

setKeepEmpty() public méthode

public setKeepEmpty ( bool empty ) : void
empty bool
Résultat void

setObjectChecker() public méthode

public setObjectChecker ( ObjectChecker oc ) : void
oc ObjectChecker
Résultat void

setObjectChecking() public méthode

public setObjectChecking ( bool on ) : void
on bool
Résultat void