MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isImportId

Function isImportId

apps/vis/server/src/lib/import-store.ts:26–28  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

24const META_FILE = 'import-meta.json';
25
26export function isImportId(id: string): boolean {
27 return IMPORT_ID_RE.test(id);
28}
29
30export function importedRootOf(home: string): string {
31 return join(home, 'imported');

Callers 5

readSessionDetailFunction · 0.90
importedDirOfFunction · 0.85
listImportedIdsFunction · 0.85
deleteImportedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected