MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / pl_is_command

Function pl_is_command

internal/cbm/doclink_perl.c:144–146  ·  view source on GitHub ↗

True when the paragraph s[pb, pe) is a command (`=` and a letter). */

Source from the content-addressed store, hash-verified

142
143/* True when the paragraph s[pb, pe) is a command (`=` and a letter). */
144static bool pl_is_command(const char *s, size_t pb, size_t pe) {
145 return pb + SKIP_ONE < pe && s[pb] == '=' && isalpha((unsigned char)s[pb + SKIP_ONE]);
146}
147
148/* End of the command word that follows the `=` at s[pb]. */
149static size_t pl_command_word_end(const char *s, size_t pb, size_t pe) {

Callers 5

pl_harvest_podFunction · 0.85
pl_block_commandsFunction · 0.85
pl_scan_fileFunction · 0.85
pl_harvest_defFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected