{
  "definitions": [
    {
      "callable": true,
      "callees": [
        {
          "file": "core/predicates/record.predicate.ts",
          "name": "isPlainRecord",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-predicates-record-predicate-ts",
            "json": "https://banes-lab.com/json/source/docs/core/predicates/record.predicate.ts",
            "label": "core/predicates/record.predicate.ts",
            "markdown": "https://banes-lab.com/source/docs/core/predicates/record.predicate.ts.md",
            "ref": "anatomy:file-docs-core-predicates-record-predicate-ts"
          }
        },
        {
          "file": "core/predicates/record.predicate.ts",
          "name": "isPlainRecord",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-predicates-record-predicate-ts",
            "json": "https://banes-lab.com/json/source/docs/core/predicates/record.predicate.ts",
            "label": "core/predicates/record.predicate.ts",
            "markdown": "https://banes-lab.com/source/docs/core/predicates/record.predicate.ts.md",
            "ref": "anatomy:file-docs-core-predicates-record-predicate-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/caches/readme.cache.ts",
          "name": "selectStaleModules",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-caches-readme-cache-ts",
            "json": "https://banes-lab.com/json/source/docs/core/caches/readme.cache.ts",
            "label": "core/caches/readme.cache.ts",
            "markdown": "https://banes-lab.com/source/docs/core/caches/readme.cache.ts.md",
            "ref": "anatomy:file-docs-core-caches-readme-cache-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 94,
      "name": "hasDocsBlock",
      "signature": "const hasDocsBlock = function hasDocsBlock(rel: string): boolean {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/predicates/record.predicate.ts",
          "name": "isPlainRecord",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-predicates-record-predicate-ts",
            "json": "https://banes-lab.com/json/source/docs/core/predicates/record.predicate.ts",
            "label": "core/predicates/record.predicate.ts",
            "markdown": "https://banes-lab.com/source/docs/core/predicates/record.predicate.ts.md",
            "ref": "anatomy:file-docs-core-predicates-record-predicate-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/caches/readme.cache.ts",
          "name": "dependencyClosure",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-caches-readme-cache-ts",
            "json": "https://banes-lab.com/json/source/docs/core/caches/readme.cache.ts",
            "label": "core/caches/readme.cache.ts",
            "markdown": "https://banes-lab.com/source/docs/core/caches/readme.cache.ts.md",
            "ref": "anatomy:file-docs-core-caches-readme-cache-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 52,
      "name": "dependencyNamesOf",
      "signature": "const dependencyNamesOf = function dependencyNamesOf(rel: string): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/predicates/record.predicate.ts",
          "name": "isPlainRecord",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-predicates-record-predicate-ts",
            "json": "https://banes-lab.com/json/source/docs/core/predicates/record.predicate.ts",
            "label": "core/predicates/record.predicate.ts",
            "markdown": "https://banes-lab.com/source/docs/core/predicates/record.predicate.ts.md",
            "ref": "anatomy:file-docs-core-predicates-record-predicate-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 47,
      "name": "packageAt",
      "signature": "const packageAt = function packageAt(rel: string): Record<string, unknown> {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/caches/readme.cache.ts",
          "name": "dependencyNamesOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-caches-readme-cache-ts",
            "json": "https://banes-lab.com/json/source/docs/core/caches/readme.cache.ts",
            "label": "core/caches/readme.cache.ts",
            "markdown": "https://banes-lab.com/source/docs/core/caches/readme.cache.ts.md",
            "ref": "anatomy:file-docs-core-caches-readme-cache-ts"
          }
        }
      ],
      "callers": [],
      "exported": false,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 66,
      "name": "dependencyClosure",
      "signature": "const dependencyClosure = function dependencyClosure(rel: string, byName: ReadonlyMap<string, string>): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/caches/readme.cache.ts",
          "name": "hasDocsBlock",
          "source": {
            "href": "https://banes-lab.com/anatomy/docs#file-docs-core-caches-readme-cache-ts",
            "json": "https://banes-lab.com/json/source/docs/core/caches/readme.cache.ts",
            "label": "core/caches/readme.cache.ts",
            "markdown": "https://banes-lab.com/source/docs/core/caches/readme.cache.ts.md",
            "ref": "anatomy:file-docs-core-caches-readme-cache-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 99,
      "name": "selectStaleModules",
      "signature": "export const selectStaleModules = function selectStaleModules("
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 18,
      "name": "GENERATED_MARK",
      "signature": "const GENERATED_MARK = \".generated.\";"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 19,
      "name": "TEST_MARKERS",
      "signature": "const TEST_MARKERS: readonly string[] = [\".test.\", \".spec.\"];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 20,
      "name": "isExcluded",
      "signature": "const isExcluded = await excludeMatcher(ROOT);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 22,
      "name": "isSharedInput",
      "signature": "const isSharedInput = function isSharedInput(name: string): boolean {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "inputsUnder",
      "signature": "const inputsUnder = function inputsUnder(dir: string): string[] {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 32,
      "name": "SHARED_HASH",
      "signature": "const SHARED_HASH = fingerprint(["
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 43,
      "name": "cacheForced",
      "signature": "export const cacheForced = function cacheForced(env: Readonly<Record<string, string | undefined>>): boolean {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 53,
      "name": "{ dependencies }",
      "signature": "const { dependencies } = packageAt(rel);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 57,
      "name": "membersByName",
      "signature": "const membersByName = function membersByName(modules: readonly string[]): ReadonlyMap<string, string> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 60,
      "name": "{ name }",
      "signature": "const { name } = packageAt(rel);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 67,
      "name": "reached",
      "signature": "const reached = new Set([rel]);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 68,
      "name": "pending",
      "signature": "const pending = [rel];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "next",
      "signature": "for (let next = pending.pop(); next !== undefined; next = pending.pop()) {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 80,
      "name": "moduleKey",
      "signature": "export const moduleKey = function moduleKey(rel: string, modules: readonly string[]): string {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 85,
      "name": "workspaceMapKey",
      "signature": "export const workspaceMapKey = function workspaceMapKey(modules: readonly string[]): string {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 86,
      "name": "inputs",
      "signature": "const inputs = modules.flatMap((rel) => [join(ROOT, rel, MANIFEST_FILE), join(ROOT, rel, PACKAGE_FILE)]);"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 90,
      "name": "createDocIndex",
      "signature": "export const createDocIndex = function createDocIndex(force: boolean): FingerprintIndex {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 95,
      "name": "parsed",
      "signature": "const parsed = readJsonSafe(join(ROOT, rel, MANIFEST_FILE));"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/docs#file-docs-core-caches-readme-cache-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "readme.cache.ts",
  "path": "core/caches/readme.cache.ts",
  "ref": "anatomy:file-docs-core-caches-readme-cache-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-caches",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-caches",
          "label": "core/caches",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-caches.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-caches"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#file-docs-core-predicates-record-predicate-ts",
          "json": "https://banes-lab.com/json/source/docs/core/predicates/record.predicate.ts",
          "label": "core/predicates/record.predicate.ts",
          "markdown": "https://banes-lab.com/source/docs/core/predicates/record.predicate.ts.md",
          "ref": "anatomy:file-docs-core-predicates-record-predicate-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-caches",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-caches",
          "label": "core/caches",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-caches.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-caches"
        },
        {
          "href": "https://banes-lab.com/anatomy/docs#folder-docs-core-predicates",
          "json": "https://banes-lab.com/json/anatomy/docs/folder-docs-core-predicates",
          "label": "core/predicates",
          "markdown": "https://banes-lab.com/anatomy/docs/folder-docs-core-predicates.md",
          "ref": "chapter:/anatomy/docs#folder-docs-core-predicates"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "cache",
    "subject": "readme",
    "variant": null
  },
  "stats": {
    "bytes": 4348,
    "callable": 12,
    "definitions": 23,
    "edges": 6,
    "exported": 6,
    "files": 1,
    "findings": {},
    "flows": {
      "relay": 2,
      "entry": 3,
      "isolated": 18
    },
    "lines": {
      "blank": 14,
      "code": 95,
      "total": 109
    }
  },
  "summary": "95 lines of code and 23 definitions.",
  "text": "https://banes-lab.com/source/docs/core/caches/readme.cache.ts.txt",
  "tree": "docs",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/docs/core/caches",
    "label": "core/caches",
    "markdown": "https://banes-lab.com/api/source/docs/core/caches.md",
    "ref": "api:source/docs/core/caches"
  }
}
