pub fn read_with_raw(path: &Path) -> Result<(Vault, Vec<u8>), VaultError>Expand description
Read a .murk vault file and return both the parsed vault and the raw bytes.
Use this when a caller needs the raw file contents (e.g. for computing a
content-addressed codename via codename::from_bytes) and must NOT bypass
the symlink rejection and version check that read enforces. Callers
should always prefer this or read over calling fs::read(path) directly.