| 3954 | } |
| 3955 | |
| 3956 | static 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". */ |
| 3964 | static bool k8s_kind_name(const cbm_gbuf_node_t *n, char *kind, size_t kind_sz, const char **name) { |
nothing calls this directly
no outgoing calls
no test coverage detected