C# Class GitSharp.Core.Transport.IndexPack

Inheritance: IDisposable
Datei anzeigen Open project: jagregory/GitSharp Class Usage Examples

Public Methods

Method 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

Method 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 method

public Dispose ( ) : void
return void

IndexPack() public method

public IndexPack ( Repository db, Stream src, FileInfo dstBase ) : System
db Repository
src Stream
dstBase System.IO.FileInfo
return System

index() public method

public index ( ProgressMonitor progress ) : void
progress ProgressMonitor
return void

renameAndOpenPack() public method

public renameAndOpenPack ( string lockMessage ) : PackLock
lockMessage string
return PackLock

renameAndOpenPack() public method

public renameAndOpenPack ( ) : void
return void

setFixThin() public method

public setFixThin ( bool fix ) : void
fix bool
return void

setIndexVersion() public method

public setIndexVersion ( int version ) : void
version int
return void

setKeepEmpty() public method

public setKeepEmpty ( bool empty ) : void
empty bool
return void

setObjectChecker() public method

public setObjectChecker ( ObjectChecker oc ) : void
oc ObjectChecker
return void

setObjectChecking() public method

public setObjectChecking ( bool on ) : void
on bool
return void