We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c8371d commit 7fe3bf3Copy full SHA for 7fe3bf3
crates/spfs/src/runtime/storage.rs
@@ -408,12 +408,12 @@ pub struct Config {
408
409
impl Default for Config {
410
fn default() -> Self {
411
- Self::from_root(Path::new(Self::RUNTIME_DIR))
+ // Default RUNTIME_DIR
412
+ Self::from_root(temp_dir().join("spfs-runtime"))
413
}
414
415
416
impl Config {
- const RUNTIME_DIR: &'static str = "/tmp/spfs-runtime";
417
const UPPER_DIR: &'static str = "upper";
418
const LOWER_DIR: &'static str = "lower";
419
const WORK_DIR: &'static str = "work";
0 commit comments