Skip to main content

Module manifest_file

Module manifest_file 

Source

Functionsยง

read_manifest
Reads and validates manifest.json; a missing file is an empty manifest.
write_manifest
Writes <data>/manifest.json through a temp file renamed over it in the same directory, so a crash or a full disk leaves the previous manifest whole and a reloading server never reads half a file.