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

Function is_table_name

reftable/stack.c:1743–1747  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1741}
1742
1743static int is_table_name(const char *s)
1744{
1745 const char *dot = strrchr(s, '.');
1746 return dot && !strcmp(dot, ".ref");
1747}
1748
1749static void remove_maybe_stale_table(struct reftable_stack *st, uint64_t max,
1750 const char *name)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected