Module git_pack::loose::object::header[][src]

Expand description

loose object header encoding and decoding.

Note that these are still relevant for packs as they are part of the computed hash of any git object, packed or not. It just so happened that loose objects where the first ones used for implementing an object database.

Enums

Returned by decode()

Functions

Decode a loose object header, being <kind> <size>\0, returns (Kind, size, consumed bytes).

Encode the objects Kind and size into a format suitable for use with decode().