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

Function get_comment_key_flags

config.c:2048–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2046}
2047
2048static unsigned get_comment_key_flags(struct comment_char_config *config,
2049 const char *path, unsigned id)
2050{
2051 unsigned value = strintmap_get(&config->key_flags, path);
2052
2053 return (value & COMMENT_KEY_MASK(id)) >> COMMENT_KEY_SHIFT(id);
2054}
2055
2056static const char *comment_key_name(unsigned id)
2057{

Callers 2

comment_char_callbackFunction · 0.85

Calls 1

strintmap_getFunction · 0.85

Tested by

no test coverage detected