Git object model (gix-object equivalent)
Dependencies
pub struct ObjectId {
bytes : FixedArray[Byte]
}impl Show for ObjectTypepub(all) enum PackCompression {
Default
Stored
}pub(all) enum PackDeltaMode {
NoDelta
RefDelta
OfsDelta
}fn PackObject::with_metadata(obj_type : ObjectType, data : Bytes, id : ObjectId, offset : Int, crc32 : UInt) -> PackObjectfn create_object_with_algo(algo : HashAlgorithm, obj_type : ObjectType, content : Bytes) -> (ObjectId, Bytes)fn hash_object_content_with_algo(algo : HashAlgorithm, obj_type : ObjectType, content : Bytes) -> ObjectIdGit object model (gix-object equivalent)
Dependencies