refactor(reference): declare the reference-source reader's contract as its entry files (#11577)

* refactor(reference): declare the reference-source reader's entry files for the import workflow

* refactor(reference): keep traversal state, symlink reconciliation and entry failure helpers out of the declared entry files
This commit is contained in:
morluto authored and GitHub committed 2026-11-16 07:29:54 +08:00
1 parent 33557c4715
commit f40476265a
14 files changed
+227 -209

No files matched your search

+3 -5
View File
@@ -1,10 +1,8 @@
import { describe, expect, it } from "vitest";
import type {
ReferenceSourceEntry,
TraversalState,
} from "./ReferenceSourceReaderTypes.js";
import { reconcileUnobservedSymlinkTargets } from "./ReferenceSourceReader.js";
import type { ReferenceSourceEntry } from "./ReferenceSourceReaderTypes.js";
import type { TraversalState } from "./ReferenceSourceReaderTraversal.js";
import { reconcileUnobservedSymlinkTargets } from "./ReferenceSourceSymlinkTargets.js";
const failedDirectory = (
path: string,