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

Function tf_ref_push

src/pipeline/pass_terraform.c:529–535  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527}
528
529static void tf_ref_push(tf_mod_t *m, const char *src_block, const char *ref, const char *key,
530 const char *out, int line) {
531 if (tf_grow((void **)&m->refs, &m->ref_cap, m->ref_n, sizeof(*m->refs))) {
532 m->refs[m->ref_n++] = (tf_ref_t){
533 (char *)m->file, (char *)src_block, (char *)key, (char *)out, ref, line, m->dep};
534 }
535}
536
537/* The identifier of a get_attr node. */
538static const char *tf_attr_name(CBMArena *a, const char *src, TSNode g) {

Callers 1

tf_traversalFunction · 0.85

Calls 1

tf_growFunction · 0.85

Tested by

no test coverage detected