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

Function verify_path

read-cache.c:839–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

837static enum verify_path_result verify_path_internal(const char *, unsigned);
838
839int verify_path(const char *path, unsigned mode)
840{
841 return verify_path_internal(path, mode) == PATH_OK;
842}
843
844struct cache_entry *make_cache_entry(struct index_state *istate,
845 unsigned int mode,

Callers 9

check_unsafe_pathFunction · 0.85
file_change_mFunction · 0.85
file_change_crFunction · 0.85
add_cacheinfoFunction · 0.85
update_oneFunction · 0.85
read_index_infoFunction · 0.85

Calls 1

verify_path_internalFunction · 0.85

Tested by 1