CaseFile

class CaseFile(files: Map<String, String>)(source)

A case directory in memory: relative path to canonical text, sorted by path. Every file is generated output, so the same inputs give the same bytes. The archive writer and verify of 6d4 start from archiveEntries and check; they add certificate.json, confirmed/, reproduce/ and report.html beside these files and extend the chain over results/.

Constructors

Link copied to clipboard
constructor(files: Map<String, String>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Functions

Link copied to clipboard

The files in archive order, manifest last.

Link copied to clipboard

Every integrity problem: edited files against the manifest, then the first broken link.

Link copied to clipboard
fun json(path: String): JsonObject

Throws JsonException on a missing or malformed file; CaseStore.read has checked both.

Link copied to clipboard
fun text(path: String): String?