Gaunt Sloth Assistant - v1.1.5
    Preparing search index...

    Function shouldIgnoreFile

    • Check if a file path should be ignored based on aiignore patterns

      Parameters

      • filePath: string

        The file path to check

      • rootDir: string

        The root directory for relative pattern matching

      • customPatterns: string[] | undefined = undefined

        Optional custom patterns to use instead of loading from file

      • enabled: boolean = true

        Whether aiignore is enabled

      Returns boolean

      True if the file should be ignored, false otherwise