Class ManifestWriter
java.lang.Object
com.marksayson.deletionchecker.manifest.ManifestWriter
Renders a manifest to the JSON written to disk: the canonical form (keys ascending, no
insignificant whitespace) with a trailing
manifestChecksum field holding the SHA-256 of
the canonical form without that field.
Build-time only.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringwrite(DatasetManifest manifest) Returns the on-disk JSON formanifest.
-
Method Details
-
write
Returns the on-disk JSON formanifest.- Parameters:
manifest- the manifest to write- Returns:
- the JSON text, including the computed
manifestChecksum
-