mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
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:
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 });
|
||||
|
||||
Reference in new issue
Block a user