pub fn write_audit_pack(
workspace: &Path,
session_id: &str,
output: Option<&Path>,
) -> Result<(SessionAuditPack, PathBuf), SessionStoreError>Expand description
Write a pack as pretty JSON, atomically and with private permissions.
Defaults to audit_pack_path when output is None. The pack file is
excluded from the pack itself.
ยงErrors
Returns SessionStoreError from pack creation or the write.