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

Function go_import_path_byte

internal/cbm/doclink_go.c:402–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402static bool go_import_path_byte(unsigned char c) {
403 return go_ascii_alpha(c) || go_ascii_digit(c) || c == '-' || c == '.' || c == '_' || c == '~' ||
404 c == '+';
405}
406
407static bool go_import_elem_ok(const char *s, size_t n) {
408 if (n == 0 || s[0] == '.' || s[n - SKIP_ONE] == '.') {

Callers 2

go_import_elem_okFunction · 0.85
go_long_ref_shapedFunction · 0.85

Calls 2

go_ascii_alphaFunction · 0.85
go_ascii_digitFunction · 0.85

Tested by

no test coverage detected