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

Function k8s_cmp_patch

src/pipeline/pass_k8s.c:3956–3961  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3954}
3955
3956static int k8s_cmp_patch(const void *a, const void *b) {
3957 const k8s_patch_t *x = a;
3958 const k8s_patch_t *y = b;
3959 int c = strcmp(x->kust, y->kust);
3960 return c ? c : (x->line > y->line) - (x->line < y->line);
3961}
3962
3963/* A Resource's kind and name, from its node name "Kind/name". */
3964static bool k8s_kind_name(const cbm_gbuf_node_t *n, char *kind, size_t kind_sz, const char **name) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected