MCPcopy Create free account
hub / github.com/git/git / verify_absent

Function verify_absent

unpack-trees.c:2534–2541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2532}
2533
2534static int verify_absent(const struct cache_entry *ce,
2535 enum unpack_trees_error_types error_type,
2536 struct unpack_trees_options *o)
2537{
2538 if (!o->skip_sparse_checkout && (ce->ce_flags & CE_NEW_SKIP_WORKTREE))
2539 return 0;
2540 return verify_absent_1(ce, error_type, COMPLETELY_ABSENT, o);
2541}
2542
2543static int verify_absent_if_directory(const struct cache_entry *ce,
2544 enum unpack_trees_error_types error_type,

Callers 4

unpack_treesFunction · 0.85
merged_entryFunction · 0.85
deleted_entryFunction · 0.85
threeway_mergeFunction · 0.85

Calls 1

verify_absent_1Function · 0.85

Tested by

no test coverage detected