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

Function dk_img_cmp

src/pipeline/pass_docker.c:1852–1857  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1850} dk_img_t;
1851
1852static int dk_img_cmp(const void *x, const void *y) {
1853 const dk_img_t *a = x;
1854 const dk_img_t *b = y;
1855 int c = strcmp(a->repo, b->repo);
1856 return c ? c : strcmp(a->name, b->name);
1857}
1858
1859/* Grow an arena array of `n` items of `size` to hold one more. */
1860static void *dk_grow(CBMArena *a, void *v, int n, int *cap, size_t size) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected