C# Класс GitSharp.Core.UnpackedObjectLoader

Loose object loader. This class loads an object not stored in a pack.
Наследование: GitSharp.Core.ObjectLoader
Показать файл Открыть проект

Открытые методы

Метод Описание
UnpackedObjectLoader ( FileSystemInfo path, AnyObjectId id ) : System

Construct an ObjectLoader to read from the file.

UnpackedObjectLoader ( byte compressed ) : System

Construct an ObjectLoader from a loose object's compressed form.

Приватные методы

Метод Описание
Decompress ( AnyObjectId id, Inflater inf, int p ) : void
ReadCompressed ( FileSystemInfo path ) : byte[]
UnpackedObjectLoader ( byte compressed, AnyObjectId id ) : System

Описание методов

UnpackedObjectLoader() публичный Метод

Construct an ObjectLoader to read from the file.
/// The loose object file does not exist. /// /// The loose object file exists, but is corrupt. ///
public UnpackedObjectLoader ( FileSystemInfo path, AnyObjectId id ) : System
path System.IO.FileSystemInfo location of the loose object to read.
id AnyObjectId Expected identity of the object being loaded, if known.
Результат System

UnpackedObjectLoader() публичный Метод

Construct an ObjectLoader from a loose object's compressed form.
/// The compressed data supplied does not match the format for a /// valid loose object. ///
public UnpackedObjectLoader ( byte compressed ) : System
compressed byte /// Entire content of the loose object file. ///
Результат System