mirror of
https://github.com/morluto/rea.git
synced 2026-11-14 02:32:54 +00:00
fix(reference): scope ignore rules and honor local Git case policy
This commit is contained in:
1 parent
3f49545320
commit
1998640669
10 files changed
+493
-136
No files matched your search
@@ -65,6 +65,11 @@ export const traverseDirectory = async (
|
||||
recordDirectoryFailure(state, current.path, before.code, before.message);
|
||||
return { ok: true, value: undefined };
|
||||
}
|
||||
const policy = await state.beforeDirectory?.(
|
||||
pathFromRoot(state.root, current.path),
|
||||
);
|
||||
if (policy !== undefined && !policy.ok) return policy;
|
||||
if (isAborted(state.signal)) return err(cancelled());
|
||||
const directories: PendingDirectory[] = [];
|
||||
let readFailure: string | undefined;
|
||||
let unrepresentableNameCount = 0;
|
||||
|
||||
Reference in new issue
Block a user