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

Function dk_base

src/pipeline/pass_docker.c:764–767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764static const char *dk_base(const char *p) {
765 const char *s = strrchr(p, '/');
766 return s ? s + SKIP_ONE : p;
767}
768
769/* The directory of normalised path `p` ("/" for "/x", "" for "x"). */
770static const char *dk_dir(dk_t *d, const char *p) {

Callers 2

dk_originFunction · 0.85
dk_spawnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected