Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ match_token
Function
match_token
git.c:71–76 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
69
}
70
71
static int match_token(const char *spec, int len, const char *token)
72
{
73
int token_len = strlen(token);
74
75
return len == token_len && !strncmp(spec, token, token_len);
76
}
77
78
static int list_cmds(const char *spec)
79
{
Callers
1
list_cmds
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected