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

@@ -7,13 +7,13 @@ import {
cancelled,
failure,
filesystemFailureDetail,
rootFilesystemFailure,
} from "./ReferenceSourceReaderErrors.js";
import { isPathWithinRoot } from "../domain/localPath.js";
import type {
ReferenceSourceFailureCode,
ReferenceSourceResult,
} from "./ReferenceSourceReaderTypes.js";
import { rootFilesystemFailure } from "./ReferenceSourceFailureBuilders.js";
export const bigLstat = (path: string): Promise<BigIntStats> =>
lstat(path, { bigint: true });