MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pf_git

Function pf_git

tests/test_pipeline_frozen.c:237–250  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

235 return ok && pf_ordinary_graph(f->control) && cbm_clone_or_copy_file(f->control, f->saved) == 0;
236}
237static cbm_git_context_t pf_git(pf_fixture_t *f) {
238 return (cbm_git_context_t){.is_git = true,
239 .is_detached = true,
240 .root_exists = true,
241 .input_path = f->source,
242 .worktree_root = f->source,
243 .git_dir = "",
244 .git_common_dir = "",
245 .canonical_root = f->source,
246 .branch = "frozen-branch",
247 .branch_slug = "frozen-branch",
248 .head_sha = PF_H_UPPER,
249 .base_sha = PF_M};
250}
251static cbm_pipeline_frozen_inputs_t pf_inputs(pf_fixture_t *f, const char *config,
252 cbm_git_context_t *git, atomic_int *cancelled) {
253 return (cbm_pipeline_frozen_inputs_t){.source_root = f->source,

Callers 12

pf_createFunction · 0.85
pf_branch_graphFunction · 0.85
pf_create_poisonedFunction · 0.85
pf_path_refusalFunction · 0.85
pf_resource_limitFunction · 0.85
pf_wide_oid_controlFunction · 0.85
pf_invalid_createFunction · 0.85
pf_unsupported_createFunction · 0.85
pf_create_listedFunction · 0.85
pf_build_intoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected