[][src]Module git_object::borrowed

Objects sharing data with a backing store to minimize allocations Borrowed objects are read-only structures referencing most data in a byte based backing store.

Borrowed objects are expected to be deserialized from bytes that acts as backing store, and they cannot mutated or serialized. Instead, one will convert them into their owned counterparts, which support mutation and serialization.

Re-exports

pub use tree::Tree;

Modules

tree

Structs

Blob

A chunk of any data.

Commit

A shared git commit, created using from_bytes().

Id

A borrowed reference to a hash identifying objects

Signature

A signature is created by an actor at a certain time.

Tag

Represents a git tag, commonly indicating a software release.

Enums

Error

An error returned by various Commit and Signature methods

Object

A borrowed object representing Trees, Blobs, Commits, or Tags