pub struct Subtrees { /* private fields */ }
Expand description
Manages subtrees in a repository
Implementations
Errors
Throws SubtreesError
if fails to find or access repository.
pub fn add(
&self,
subtree: &SubtreeConfig,
revision: Option<&str>,
subject: Option<&str>
) -> Result<(), AdditionError>
pub fn add(
&self,
subtree: &SubtreeConfig,
revision: Option<&str>,
subject: Option<&str>
) -> Result<(), AdditionError>
Errors
Throws ConfigError
if something goes wrong during parsing