Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ is_loose_object_shard
Function
is_loose_object_shard
tmp-objdir.c:253–256 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
251
}
252
253
static int is_loose_object_shard(const char *name)
254
{
255
return strlen(name) == 2 && isxdigit(name[0]) && isxdigit(name[1]);
256
}
257
258
static int migrate_paths(struct tmp_objdir *t,
259
struct strbuf *src, struct strbuf *dst,
Callers
1
migrate_paths
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected