| 235 | return ok && pf_ordinary_graph(f->control) && cbm_clone_or_copy_file(f->control, f->saved) == 0; |
| 236 | } |
| 237 | static 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 | } |
| 251 | static 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, |
no outgoing calls
no test coverage detected