CaseStore

Writes and reads a CaseFile under a directory; a bad file is a typed result, not a throw.

Functions

Link copied to clipboard
fun read(files: CaseFiles, dir: String): CaseRead

Reads what the manifest lists. Hashes and the chain are CaseFile.check's job.

Link copied to clipboard
fun write(files: CaseFiles, dir: String, case: CaseFile): CaseWrite