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

Function dk_exists

src/pipeline/pass_docker.c:1239–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1237}
1238
1239static bool dk_exists(const dk_t *d, const char *p) {
1240 return !p[0] || cbm_ht_get(d->ix->files, p) || (d->ix->dirs && cbm_ht_get(d->ix->dirs, p));
1241}
1242
1243/* The stages the image is made of: the last, the stages each is built FROM
1244 * and the stages each COPYs --from, transitively. */

Callers 1

dk_ctx_voteFunction · 0.85

Calls 1

cbm_ht_getFunction · 0.85

Tested by

no test coverage detected