pub fn render_layer_file(path: &Path) -> Result<(String, bool)>Expand description
Pretty-print one layer file. A missing file renders as {} with
exists = false so the caller can add a note without polluting stdout.
VERBATIM: the raw tree, secrets included. Only the --show-secrets path
and the write path (which must round-trip the file) may use it; the
default show path uses render_layer_file_redacted.