MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / run_git_raw

Function run_git_raw

atomic-repository/src/wip.rs:607–615  ·  view source on GitHub ↗
(
    root: &Path,
    operation: &'static str,
    args: &[OsString],
    index: Option<&Path>,
    input: Option<&[u8]>,
)

Source from the content-addressed store, hash-verified

605}
606
607fn run_git_raw(
608 root: &Path,
609 operation: &'static str,
610 args: &[OsString],
611 index: Option<&Path>,
612 input: Option<&[u8]>,
613) -> Result<Output, WipCaptureError> {
614 execute_raw(git_command(root, args, index), operation, input)
615}
616
617fn git_command(root: &Path, args: &[OsString], index: Option<&Path>) -> Command {
618 let mut command = Command::new("git");

Callers 4

resolve_headFunction · 0.85
create_recovery_refFunction · 0.85
resolve_refFunction · 0.85
git_bytesFunction · 0.85

Calls 2

execute_rawFunction · 0.85
git_commandFunction · 0.85

Tested by

no test coverage detected