fynjs API
    Preparing search index...

    Type Alias GitignoreMatcher

    matches paths against a repo's gitignore rules

    type GitignoreMatcher = {
        hasRules: boolean;
        ignores(relPath: string): boolean;
    }
    Index
    hasRules: boolean

    true if any rule was actually loaded - false means every check is a no-op

    • true if the given repo-relative path is ignored by git

      Parameters

      • relPath: string

      Returns boolean