tarlatan
    Preparing search index...

    Function collidingIgnoredFiles

    • The ignored files of ignored that collide with the target target (ls-tree -r -t, trees included), paths compared under key: the file's own path is any entry of the target, or a proper ancestor is an entry that is not a tree. The oracle's precheck, which read-tree --reset -u makes necessary: "updates leading to loss of working tree changes or untracked files or directories will not abort" (git-read-tree(1)).

      Parameters

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

      Returns readonly string[]