mount an atproto PDS repository as a FUSE filesystem oppi.li/posts/mounting_the_atmosphere/

use cache dir instead of data dir

+1 -1
+1 -1
src/main.rs
··· 113 113 114 114 let dirs = BaseDirectories::new(); 115 115 116 - let dir = dirs.get_data_home().expect("$HOME is absent").join("pdsfs"); 116 + let dir = dirs.get_cache_home().expect("$HOME is absent").join("pdsfs"); 117 117 tokio::fs::create_dir_all(&dir).await?; 118 118 119 119 let file = dir.join(&id.did);