global: datasets compression via zstd

This commit is contained in:
k
2024-08-05 00:44:46 +02:00
parent 9067c28d24
commit c646d6dc60
36 changed files with 544 additions and 249 deletions

View File

@@ -1,4 +1,4 @@
use std::{collections::BTreeMap, fs, ops::RangeInclusive};
use std::{collections::BTreeMap, fs, ops::RangeInclusive, path::Path};
use allocative::Allocative;
@@ -282,7 +282,7 @@ impl AllDatasets {
fs::create_dir_all(server_inputs_path)?;
Json::export(
&format!("{server_inputs_path}/disk_path_to_type.json"),
Path::new(&format!("{server_inputs_path}/disk_path_to_type.json")),
&path_to_type,
)?;