write

fun write(summary: RunSummary, path: Path): Boolean(source)

Encode summary and write to path (creating parent directories as needed). Best-effort — returns true on success, false if the write threw.