-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.js
More file actions
74 lines (74 loc) · 1.5 KB
/
index.js
File metadata and controls
74 lines (74 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Barrel re-export — keeps all existing `import { ... } from '…/db/index.js'` working.
export {
closeDb,
findDbPath,
findRepoRoot,
openDb,
openReadonlyOrFail,
openRepo,
} from './connection.js';
export { getBuildMeta, initSchema, MIGRATIONS, setBuildMeta } from './migrations.js';
export {
fanInJoinSQL,
fanOutJoinSQL,
kindInClause,
NodeQuery,
testFilterSQL,
} from './query-builder.js';
export {
bulkNodeIdsByFile,
countCrossFileCallers,
countEdges,
countFiles,
countNodes,
deleteCfgForNode,
findAllIncomingEdges,
findAllOutgoingEdges,
findCalleeNames,
findCallees,
findCallerNames,
findCallers,
findCrossFileCallTargets,
findDistinctCallers,
findFileNodes,
findImplementors,
findImportDependents,
findImportSources,
findImportTargets,
findInterfaces,
findIntraFileCallEdges,
findNodeById,
findNodeByQualifiedName,
findNodeChildren,
findNodesByFile,
findNodesByScope,
findNodesForTriage,
findNodesWithFanIn,
getCallableNodes,
getCallEdges,
getCfgBlocks,
getCfgEdges,
getClassHierarchy,
getCoChangeMeta,
getComplexityForNode,
getEmbeddingCount,
getEmbeddingMeta,
getFileNodesAll,
getFunctionNodeId,
getImportEdges,
getLineCountForNode,
getMaxEndLineForFile,
getNodeId,
hasCfgTables,
hasCoChanges,
hasDataflowTable,
hasEmbeddings,
InMemoryRepository,
iterateFunctionNodes,
listFunctionNodes,
purgeFileData,
purgeFilesData,
Repository,
SqliteRepository,
upsertCoChangeMeta,
} from './repository/index.js';