MCPcopy Create free account
hub / github.com/antirez/ds4 / agent_tool_viz_code_byte

Function agent_tool_viz_code_byte

ds4_agent.c:2933–2939  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2931 return agent_syntax_for_lang("sh");
2932 const char *dot = strrchr(base, '.');
2933 if (!dot || !dot[1]) return agent_syntax_for_lang(NULL);
2934 return agent_syntax_for_lang(dot + 1);
2935}
2936
2937static bool agent_syntax_separator(char c) {
2938 unsigned char uc = (unsigned char)c;
2939 return c == '\0' || isspace(uc) || strchr(",.()+-/*=~%[]{}<>:;!&|^?", c) != NULL;
2940}
2941
2942static const char *agent_syntax_line_comment(const agent_syntax *syn,

Callers 1

Calls 2

renderer_code_byteFunction · 0.85

Tested by

no test coverage detected