From 6d566c8592d75d68c10019c02b059440d0b687b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Oscar=20Go=C3=B1i?= Date: Thu, 8 Oct 2026 12:55:10 -0300 Subject: [PATCH] feat(import): add path, metadata and hints tables to default config Generated by go-minr in crc64 mode: - path: pathHash,path (2 fields) - metadata: MZ table keyed by file hash - license_hints / copyright_hints: key,start,end,evidence,confidence,tag (6 fields) Co-Authored-By: Claude Opus 5.5 --- src/import.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/import.c b/src/import.c index a580163..ac96702 100644 --- a/src/import.c +++ b/src/import.c @@ -1308,7 +1308,11 @@ bool ldb_create_db_config_default(char * dbname) "file: (KEYS=2, FIELDS=3)\n"\ "pivot: (KEYS=2, FIELDS=2, VALIDATE_FIELDS=0)\n"\ "semgrep: (KEYS=1, FIELDS=5)\n"\ - "wfp: (WFP=1, KEYS=1)\n" + "wfp: (WFP=1, KEYS=1)\n"\ + "path: (KEYS=1, FIELDS=2)\n"\ + "metadata: (MZ=1, KEYS=1)\n"\ + "license_hints: (KEYS=1, FIELDS=6)\n"\ + "copyright_hints: (KEYS=1, FIELDS=6)\n" char config_path[LDB_MAX_PATH] = "";