{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 6,
      "name": "writeCensus",
      "signature": "export const writeCensus = async function writeCensus(markdown: string, dir: string): Promise<string> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 8,
      "name": "target",
      "signature": "const target = path.join(dir, CENSUS_FILE);"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/stats#file-stats-core-persistence-metric-persistence-ts",
  "language": "typescript",
  "layer": "infrastructure",
  "name": "metric.persistence.ts",
  "path": "core/persistence/metric.persistence.ts",
  "ref": "anatomy:file-stats-core-persistence-metric-persistence-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/stats#folder-stats-core-persistence",
          "json": "https://banes-lab.com/json/anatomy/stats/folder-stats-core-persistence",
          "label": "core/persistence",
          "markdown": "https://banes-lab.com/anatomy/stats/folder-stats-core-persistence.md",
          "ref": "chapter:/anatomy/stats#folder-stats-core-persistence"
        }
      ],
      "relation": "contained-in"
    }
  ],
  "slots": {
    "concern": "persistence",
    "subject": "metric",
    "variant": null
  },
  "stats": {
    "bytes": 476,
    "callable": 1,
    "definitions": 2,
    "edges": 0,
    "exported": 2,
    "files": 1,
    "findings": {},
    "flows": {
      "isolated": 2
    },
    "lines": {
      "blank": 1,
      "code": 10,
      "total": 11
    }
  },
  "summary": "10 lines of code and 2 definitions.",
  "text": "https://banes-lab.com/source/stats/core/persistence/metric.persistence.ts.txt",
  "tree": "stats",
  "siblings": {
    "next": null,
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/stats/core/persistence",
    "label": "core/persistence",
    "markdown": "https://banes-lab.com/api/source/stats/core/persistence.md",
    "ref": "api:source/stats/core/persistence"
  }
}
