tarlatan
    Preparing search index...

    Function differingIgnoreFiles

    • The .gitignore paths that differ between the worktree's snapshot current and the target target (each ls-tree -r): every ignore file of each tree, a .gitignore under key, compared with the entry at exactly the same path in the other (review 3 F1), and named when that entry is absent or another blob or mode. A path is named once, those of current first. Under different rules git clean -fd judges "ignored" by the target's and deletes a file the current rules ignore (the oracle's run 2). Comparing every path, never one spelling for a whole equivalence group, keeps an unchanged spelling from hiding a changed one.

      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[]