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

Function matches_tree_write_stack

notes.c:644–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642};
643
644static inline int matches_tree_write_stack(struct tree_write_stack *tws,
645 const char *full_path)
646{
647 return full_path[0] == tws->path[0] &&
648 full_path[1] == tws->path[1] &&
649 full_path[2] == '/';
650}
651
652static void write_tree_entry(struct strbuf *buf, unsigned int mode,
653 const char *path, unsigned int path_len, const

Callers 1

write_each_note_helperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected