C# Class GitSharp.Core.Transport.PackedObjectInfo

Description of an object stored in a pack file, including offset.

When objects are stored in packs Git needs the ObjectId and the offset (starting position of the object data) to perform random-access reads of objects from the pack. This extension of ObjectId includes the offset.

Inheritance: ObjectId
Afficher le fichier Open project: stschake/GitSharp Class Usage Examples

Méthodes publiques

Méthode Description
PackedObjectInfo ( AnyObjectId id )

Create a new structure to remember information about an object.

PackedObjectInfo ( long headerOffset, int packedCRC, AnyObjectId id )

Method Details

PackedObjectInfo() public méthode

Create a new structure to remember information about an object.
public PackedObjectInfo ( AnyObjectId id )
id AnyObjectId /// The identity of the object the new instance tracks. ///

PackedObjectInfo() public méthode

public PackedObjectInfo ( long headerOffset, int packedCRC, AnyObjectId id )
headerOffset long
packedCRC int
id AnyObjectId