Function git_wrapper::resolve_head
source · [−]pub fn resolve_head(remote: &str) -> Result<String, PosixError>Expand description
Return all .gitsubtrees files in the working directory.
Uses git-ls-files(1)
Errors
Will return PosixError if command exits with an error code.
Figure out the default branch for given remote.
Errors
Will return PosixError if command exits with an error code.
TODO Return a custom error type