refactor: use canonical implementations and types directly

Remove forwarding wrappers and shadow aliases, migrate callers and verification scripts to their owners, and share one exhaustive semantic resource-bound projection.
This commit is contained in:
morluto committed 2026-10-09 23:35:19 +08:00
1 parent 3283a45d09
commit 765e809e36
119 files changed
+577 -629

No files matched your search

+3 -5
View File
@@ -57,15 +57,13 @@ export interface ReferenceSourceReaderError {
readonly message: string;
}
export type BigStats = BigIntStats;
export type PendingDirectory = {
readonly path: string;
};
export type TraversalState = {
readonly root: string;
readonly rootIdentity: BigStats;
readonly rootIdentity: BigIntStats;
readonly signal?: AbortSignal;
readonly shouldExclude?: (path: string) => boolean;
readonly entries: ReferenceSourceEntry[];
@@ -75,10 +73,10 @@ export type TraversalState = {
export type StableFileRequest = {
readonly root: string;
readonly rootIdentity: BigStats;
readonly rootIdentity: BigIntStats;
readonly absolute: string;
readonly path: string;
readonly expected: BigStats;
readonly expected: BigIntStats;
readonly signal?: AbortSignal;
};