MCPcopy Index your code
hub / github.com/git/git / would_convert_to_git

Function would_convert_to_git

convert.h:139–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 const char *path, const char *src, size_t len,
138 struct strbuf *dst);
139static inline int would_convert_to_git(struct index_state *istate,
140 const char *path)
141{
142 return convert_to_git(istate, path, NULL, 0, NULL, 0);
143}
144/* Precondition: would_convert_to_git_filter_fd(path) == true */
145void convert_to_git_filter_fd(struct index_state *istate,
146 const char *path, int fd,

Callers 4

index_fdFunction · 0.85
add_patternsFunction · 0.85
reuse_worktree_fileFunction · 0.85
diff_populate_filespecFunction · 0.85

Calls 1

convert_to_gitFunction · 0.85

Tested by

no test coverage detected