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

Function integration_command

atomic-cli/src/commands/git/hooks.rs:356–361  ·  view source on GitHub ↗
(binary: &Path)

Source from the content-addressed store, hash-verified

354}
355
356fn integration_command(binary: &Path) -> io::Result<String> {
357 Ok(format!(
358 "{} git shim hook-post-checkout \"$@\" || true",
359 shell_quote(binary)?
360 ))
361}
362
363fn shell_quote(path: &Path) -> io::Result<String> {
364 let value = path.to_str().ok_or_else(|| {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected