{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/exclusions.matcher.ts",
          "name": "matchesRunAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
            "label": "core/matchers/exclusions.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/exclusions.matcher.ts",
          "name": "pathExclusion",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
            "label": "core/matchers/exclusions.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
          }
        },
        {
          "file": "core/predicates/coverage.predicate.ts",
          "name": "isSkippable",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-predicates-coverage-predicate-ts",
            "json": "https://banes-lab.com/json/source/quality/core/predicates/coverage.predicate.ts",
            "label": "core/predicates/coverage.predicate.ts",
            "markdown": "https://banes-lab.com/source/quality/core/predicates/coverage.predicate.ts.md",
            "ref": "anatomy:file-quality-core-predicates-coverage-predicate-ts"
          }
        },
        {
          "file": "core/resolvers/scope.resolver.ts",
          "name": "walkDir",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-resolvers-scope-resolver-ts",
            "json": "https://banes-lab.com/json/source/quality/core/resolvers/scope.resolver.ts",
            "label": "core/resolvers/scope.resolver.ts",
            "markdown": "https://banes-lab.com/source/quality/core/resolvers/scope.resolver.ts.md",
            "ref": "anatomy:file-quality-core-resolvers-scope-resolver-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 45,
      "name": "isExcludedPath",
      "signature": "export const isExcludedPath = function isExcludedPath(relPath: string, markers: readonly string[]): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/exclusions.matcher.ts",
          "name": "isExcludedPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
            "label": "core/matchers/exclusions.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
          }
        },
        {
          "file": "core/validators/css.viewport.validator.ts",
          "name": "basename",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-validators-css-viewport-validator-ts",
            "json": "https://banes-lab.com/json/source/quality/core/validators/css.viewport.validator.ts",
            "label": "core/validators/css.viewport.validator.ts",
            "markdown": "https://banes-lab.com/source/quality/core/validators/css.viewport.validator.ts.md",
            "ref": "anatomy:file-quality-core-validators-css-viewport-validator-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/factories/exclusions.factory.ts",
          "name": "excludeMatcher",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-factories-exclusions-factory-ts",
            "json": "https://banes-lab.com/json/source/quality/core/factories/exclusions.factory.ts",
            "label": "core/factories/exclusions.factory.ts",
            "markdown": "https://banes-lab.com/source/quality/core/factories/exclusions.factory.ts.md",
            "ref": "anatomy:file-quality-core-factories-exclusions-factory-ts"
          }
        }
      ],
      "exported": true,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 61,
      "name": "pathExclusion",
      "signature": "export const pathExclusion = function pathExclusion(root: string, markers: readonly string[]): PathExclusion {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/matchers/exclusions.matcher.ts",
          "name": "matchesSegment",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
            "label": "core/matchers/exclusions.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/matchers/exclusions.matcher.ts",
          "name": "isExcludedPath",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
            "label": "core/matchers/exclusions.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 38,
      "name": "matchesRunAt",
      "signature": "const matchesRunAt = function matchesRunAt(path: readonly string[], marker: readonly string[], start: number): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/matchers/exclusions.matcher.ts",
          "name": "matchesRunAt",
          "source": {
            "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
            "json": "https://banes-lab.com/json/source/quality/core/matchers/exclusions.matcher.ts",
            "label": "core/matchers/exclusions.matcher.ts",
            "markdown": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.md",
            "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts"
          }
        }
      ],
      "exported": false,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 17,
      "name": "matchesSegment",
      "signature": "const matchesSegment = function matchesSegment(text: string, marker: string): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 4,
      "name": "SEPARATOR",
      "signature": "const SEPARATOR = \"/\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "WILDCARD",
      "signature": "const WILDCARD = \"*\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "PARENT",
      "signature": "const PARENT = \"..\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 7,
      "name": "CURRENT",
      "signature": "const CURRENT = \".\";"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "segmentsOf",
      "signature": "const segmentsOf = function segmentsOf(path: string): string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "parts",
      "signature": "const parts = marker.split(WILDCARD);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "[head = \"\"]",
      "signature": "const [head = \"\"] = parts;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 26,
      "name": "cursor",
      "signature": "let cursor = head.length;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "at",
      "signature": "const at = part === \"\" ? cursor : text.indexOf(part, cursor);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 34,
      "name": "tail",
      "signature": "const tail = parts.at(-1) ?? \"\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 40,
      "name": "segment",
      "signature": "const segment = path[start + offset];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 46,
      "name": "path",
      "signature": "const path = segmentsOf(relPath);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 48,
      "name": "run",
      "signature": "const run = segmentsOf(marker);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "start",
      "signature": "for (let start = 0; start + run.length <= path.length; start += 1) {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 63,
      "name": "rel",
      "signature": "const rel = isAbsolute(target) ? relative(root, target) : target;"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 64,
      "name": "[first]",
      "signature": "const [first] = segmentsOf(rel);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "outside",
      "signature": "const outside = first === PARENT || isAbsolute(rel);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-exclusions-matcher-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "exclusions.matcher.ts",
  "path": "core/matchers/exclusions.matcher.ts",
  "ref": "anatomy:file-quality-core-matchers-exclusions-matcher-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-matchers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-matchers",
          "label": "core/matchers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-matchers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-matchers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-validators-css-viewport-validator-ts",
          "json": "https://banes-lab.com/json/source/quality/core/validators/css.viewport.validator.ts",
          "label": "core/validators/css.viewport.validator.ts",
          "markdown": "https://banes-lab.com/source/quality/core/validators/css.viewport.validator.ts.md",
          "ref": "anatomy:file-quality-core-validators-css-viewport-validator-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-factories-exclusions-factory-ts",
          "json": "https://banes-lab.com/json/source/quality/core/factories/exclusions.factory.ts",
          "label": "core/factories/exclusions.factory.ts",
          "markdown": "https://banes-lab.com/source/quality/core/factories/exclusions.factory.ts.md",
          "ref": "anatomy:file-quality-core-factories-exclusions-factory-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-predicates-coverage-predicate-ts",
          "json": "https://banes-lab.com/json/source/quality/core/predicates/coverage.predicate.ts",
          "label": "core/predicates/coverage.predicate.ts",
          "markdown": "https://banes-lab.com/source/quality/core/predicates/coverage.predicate.ts.md",
          "ref": "anatomy:file-quality-core-predicates-coverage-predicate-ts"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#file-quality-core-resolvers-scope-resolver-ts",
          "json": "https://banes-lab.com/json/source/quality/core/resolvers/scope.resolver.ts",
          "label": "core/resolvers/scope.resolver.ts",
          "markdown": "https://banes-lab.com/source/quality/core/resolvers/scope.resolver.ts.md",
          "ref": "anatomy:file-quality-core-resolvers-scope-resolver-ts"
        }
      ],
      "relation": "used-by"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-factories",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-factories",
          "label": "core/factories",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-factories.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-factories"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-matchers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-matchers",
          "label": "core/matchers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-matchers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-matchers"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-predicates",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-predicates",
          "label": "core/predicates",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-predicates.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-predicates"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-resolvers",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-resolvers",
          "label": "core/resolvers",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-resolvers.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-resolvers"
        },
        {
          "href": "https://banes-lab.com/anatomy/quality#folder-quality-core-validators",
          "json": "https://banes-lab.com/json/anatomy/quality/folder-quality-core-validators",
          "label": "core/validators",
          "markdown": "https://banes-lab.com/anatomy/quality/folder-quality-core-validators.md",
          "ref": "chapter:/anatomy/quality#folder-quality-core-validators"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "matcher",
    "subject": "exclusions",
    "variant": null
  },
  "stats": {
    "bytes": 2278,
    "callable": 5,
    "definitions": 21,
    "edges": 4,
    "exported": 8,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 3,
      "leaf": 1,
      "isolated": 17
    },
    "lines": {
      "blank": 6,
      "code": 62,
      "total": 68
    }
  },
  "summary": "62 lines of code and 21 definitions.",
  "text": "https://banes-lab.com/source/quality/core/matchers/exclusions.matcher.ts.txt",
  "tree": "quality",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-target-matcher-ts",
      "json": "https://banes-lab.com/json/source/quality/core/matchers/target.matcher.ts",
      "label": "core/matchers/target.matcher.ts",
      "markdown": "https://banes-lab.com/source/quality/core/matchers/target.matcher.ts.md",
      "ref": "anatomy:file-quality-core-matchers-target-matcher-ts"
    },
    "previous": {
      "href": "https://banes-lab.com/anatomy/quality#file-quality-core-matchers-context-matcher-ts",
      "json": "https://banes-lab.com/json/source/quality/core/matchers/context.matcher.ts",
      "label": "core/matchers/context.matcher.ts",
      "markdown": "https://banes-lab.com/source/quality/core/matchers/context.matcher.ts.md",
      "ref": "anatomy:file-quality-core-matchers-context-matcher-ts"
    }
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/quality/core/matchers",
    "label": "core/matchers",
    "markdown": "https://banes-lab.com/api/source/quality/core/matchers.md",
    "ref": "api:source/quality/core/matchers"
  }
}
