Module object

Module object 

Source
Expand description

Git object types and serialization

Git has four object types: blob, tree, commit, and tag. Each is content-addressed by SHA-1 hash of: “{type} {size}\0{content}”

Structs§

GitObject
A git object with type and content
ObjectId
A 20-byte SHA-1 object ID
TreeEntry
Tree entry (mode, name, object id)

Enums§

ObjectType
The four git object types

Functions§

parse_tree
Parse tree content into entries
serialize_tree
Serialize tree entries to content