pub struct Store { /* private fields */ }
Expand description

The git reference store. TODO: Figure out if handles are needed at all, which depends on the ref-table implementation.

Implementations

Create a new store at the given location, typically the .git/ directory.

object_hash defines the kind of hash to assume when dealing with refs.

Return a new handle which sees all references if namespace is None or all read and write operations are limited to the given namespace if Some.

As above, but supports a namespace to be set

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.