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

Manages subtrees in a repository

Implementations

Errors

Throws SubtreesError if fails to find or access repository.

Discover subtrees in a git repository

Discover subtrees in specified directory

Add subtree to repository

Errors

Throws errors when there are errors

Panics

Panics when something unexpected happens

Errors

Throws ConfigError if something goes wrong during parsing

Returns the repository head commit id

Pull remote changes in the specified subtree

Split changes in a subtree to own artificial history and merge it back into HEAD

Push subtree changes to remote

List modules with changes since specified git commit id

Find subtree by name

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.