MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / output

Method output

src/sessions/git_correlation/backfill.rs:278–288  ·  view source on GitHub ↗
(worktree: &std::path::Path, args: &[&str])

Source from the content-addressed store, hash-verified

276
277impl SystemGit {
278 fn output(worktree: &std::path::Path, args: &[&str]) -> Option<String> {
279 let output = std::process::Command::new(crate::git::git_program())
280 .args(args)
281 .current_dir(worktree)
282 .output()
283 .ok()?;
284 if !output.status.success() {
285 return None;
286 }
287 String::from_utf8(output.stdout).ok()
288 }
289}
290
291impl GitReflogSource for SystemGit {

Callers 15

run_npmFunction · 0.80
mainFunction · 0.80
ast_grep_on_pathFunction · 0.80
restore_repoFunction · 0.80
current_branch_gitFunction · 0.80
git_rev_list_countFunction · 0.80
brew_linked_binaryFunction · 0.80
read_daemon_log_tailFunction · 0.80
git_outputFunction · 0.80
git_scan_commitsFunction · 0.80
is_pid_aliveFunction · 0.80
ast_grep_rewriteMethod · 0.80

Calls 2

successMethod · 0.80
git_programFunction · 0.50

Tested by 15

head_oidFunction · 0.64
gitFunction · 0.64
gitFunction · 0.64
run_gitFunction · 0.64
assert_help_succeedsFunction · 0.64
run_gitFunction · 0.64
gitFunction · 0.64
run_toolFunction · 0.64
init_project_with_cliFunction · 0.64
gitFunction · 0.64