Crate git_object[][src]

This crate provides types for read-only git objects backed by bytes provided in git’s serialization format as well as mutable versions of these. The latter can be serialized into git’s serialization format for objects.

Re-exports

pub use bstr;

Modules

commit
immutable

Immutable objects are read-only structures referencing most data from a byte slice.

mutable

Mutable objects with each field being separately allocated and changeable.

tree

Structs

Time

A timestamp with timezone.

Enums

Error

The Error used in Kind::from_bytes().

Kind

The four types of objects that git differentiates.

Sign

Indicates if a number is positive or negative for use in Time.