All files

src/stdlib/compiler_files.panack

Green: covered; red: known zero; amber: unavailable. Blank lines are outside the executable-start-line denominator.

    1 // Compiler-internal trapping file operations used by diagnostics and CLI plumbing.
    2 pub read_text(path: Str): Str { read_file(path) }
    3 pub exists(path: Str): Bool { file_exists(path) }
    4 pub read_file_bytes(path: Str): Bytes { read_bytes(path) }
    5 pub write_file_bytes(path: Str, data: Bytes): Void { write_bytes(path, data) }
    6 

Functions

[
  {
    "id": "declaration/0",
    "name": "read_text",
    "line": 2,
    "state": "covered",
    "entries": "641"
  },
  {
    "id": "declaration/1",
    "name": "exists",
    "line": 3,
    "state": "covered",
    "entries": "321"
  },
  {
    "id": "declaration/2",
    "name": "read_file_bytes",
    "line": 4,
    "state": "covered",
    "entries": "2"
  },
  {
    "id": "declaration/3",
    "name": "write_file_bytes",
    "line": 5,
    "state": "covered",
    "entries": "4"
  }
]

Source branch outcomes

[]

Reviewed declaration exclusions

[]