pub fn run(
output_snd: &XvcOutputSender,
xvc_root: &XvcRoot,
opts: RootCLI,
) -> Result<()>
Expand description
Entry point for xvc root
§Arguments
output
: Buffer to write the resultxvc_root
: The root of the current projectopts
: CLI options
§Errors and Panics
- It returns an error when
output
can’t be written bywriteln!
This probably leads to panic! in caller. - It returns an error when
xvc_root
cannot be converted to absolute path This should never happen ifxvc_root
properly constructed.