tangled
alpha
login
or
join now
oppi.li
/
pdsfs
97
fork
atom
mount an atproto PDS repository as a FUSE filesystem
oppi.li/posts/mounting_the_atmosphere/
97
fork
atom
overview
issues
pulls
pipelines
switch out mountpoint
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li
8 months ago
8c332f8d
3489add0
verified
This commit was signed with the committer's
known signature
.
oppi.li
SSH Key Fingerprint:
SHA256:yQs05DbrlPDC2pBXLxqOdLYEswq3oEBnHaJiBP7bOlM=
+2
-2
2 changed files
expand all
collapse all
unified
split
readme.txt
src
main.rs
+1
-1
readme.txt
···
7
7
usage
8
8
-----
9
9
10
10
-
cargo run -- <DID/handle>
10
10
+
cargo run -- DID|handle
+1
-1
src/main.rs
···
32
32
let mountpoint = matches
33
33
.get_one::<PathBuf>("mountpoint")
34
34
.map(ToOwned::to_owned)
35
35
-
.unwrap_or(PathBuf::from(&handle));
35
35
+
.unwrap_or(PathBuf::from("mnt"));
36
36
let _ = std::fs::create_dir_all(&mountpoint);
37
37
let resolver = resolver::id_resolver();
38
38
let id = rt.block_on(async {