tarlatan
    Preparing search index...

    Function ambiguousIgnoreFiles

    • The .gitignore paths of current or of target that share their key with another, distinct .gitignore path of the same tree: an ambiguous group, which the worktree's volume may hold as one file (review 3 F1). The restore refuses any, touching nothing: which spelling's rules git would read cannot be told. A path is named once, those of current first.

      Parameters

      • current: readonly {
            mode: string;
            object: string & Brand<"Revision">;
            path: string;
            type: "blob-entry" | "tree-entry" | "commit-entry";
        }[]
      • target: readonly {
            mode: string;
            object: string & Brand<"Revision">;
            path: string;
            type: "blob-entry" | "tree-entry" | "commit-entry";
        }[]
      • key: PathKey

      Returns readonly string[]