mirror of
https://github.com/thegeneralist01/archivr
synced 2026-07-22 03:05:32 +02:00
fix: complete web UI smoke path
This commit is contained in:
parent
47e6f0e53f
commit
7a3d23624a
2 changed files with 14 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ pub fn load_registry(path: &Path) -> Result<ServerRegistry> {
|
|||
Ok(registry)
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
pub fn save_registry(path: &Path, registry: &ServerRegistry) -> Result<()> {
|
||||
validate_registry(registry)?;
|
||||
let contents = toml::to_string_pretty(registry)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue