mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 10:55:57 +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
@@ -18,6 +18,10 @@ export type ReferenceSourceExclusionKind = ReferenceSourceEntryKind | "unknown";
|
||||
|
||||
export interface ReferenceSourceReaderOptions {
|
||||
readonly signal?: AbortSignal;
|
||||
/** Prepare directory-scoped policy after directory identity admission, before enumeration. */
|
||||
readonly beforeDirectory?: (
|
||||
path: string,
|
||||
) => Promise<ReferenceSourceResult<undefined>>;
|
||||
readonly shouldExclude?: (
|
||||
path: string,
|
||||
kind: ReferenceSourceExclusionKind,
|
||||
@@ -95,6 +99,10 @@ export type TraversalState = {
|
||||
readonly root: string;
|
||||
readonly rootIdentity: BigIntStats;
|
||||
readonly signal?: AbortSignal;
|
||||
/** Prepare directory-scoped policy after directory identity admission, before enumeration. */
|
||||
readonly beforeDirectory?: (
|
||||
path: string,
|
||||
) => Promise<ReferenceSourceResult<undefined>>;
|
||||
readonly shouldExclude?: (
|
||||
path: string,
|
||||
kind: ReferenceSourceExclusionKind,
|
||||
|
||||
Reference in new issue
Block a user