pub struct BareRepository(_);
Expand description

Represents a bare repository

Implementations

Panics

When git execution fails

Errors

Returns a string output when something goes horrible wrong

Return config value for specified key

Errors

When given invalid key or an invalid config file is read.

Panics

Will panic if git exits with an unexpected error code. Expected codes are 0, 1 & 3.

Returns a prepared git Command struct

Trait Implementations

Formats the value using the given formatter. Read more

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.