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
add ci config
Signed-off-by: oppiliappan <me@oppi.li>
oppi.li
7 months ago
ca740ce5
028f454a
verified
This commit was signed with the committer's
known signature
.
oppi.li
SSH Key Fingerprint:
SHA256:yQs05DbrlPDC2pBXLxqOdLYEswq3oEBnHaJiBP7bOlM=
+36
-5
4 changed files
expand all
collapse all
unified
split
.tangled
workflows
build.yml
fmt.yml
src
fs.rs
main.rs
+17
.tangled/workflows/build.yml
···
1
1
+
when:
2
2
+
- event: push
3
3
+
branch: main
4
4
+
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- gcc
8
8
+
- cargo
9
9
+
- rustc
10
10
+
- rustfmt
11
11
+
12
12
+
steps:
13
13
+
- name: build
14
14
+
command: |
15
15
+
cargo build --all --verbose
16
16
+
17
17
+
+17
.tangled/workflows/fmt.yml
···
1
1
+
when:
2
2
+
- event: push
3
3
+
branch: main
4
4
+
5
5
+
dependencies:
6
6
+
nixpkgs:
7
7
+
- cargo
8
8
+
- rustc
9
9
+
- rustfmt
10
10
+
11
11
+
steps:
12
12
+
- name: build
13
13
+
command: |
14
14
+
cargo fmt --check --all --verbose
15
15
+
16
16
+
17
17
+
+1
-4
src/fs.rs
···
1
1
-
use std::{
2
2
-
collections::{BTreeMap, hash_set::Iter},
3
3
-
time,
4
4
-
};
1
1
+
use std::time;
5
2
6
3
use atrium_repo::{Repository, blockstore::AsyncBlockStoreRead};
7
4
use futures::StreamExt;
+1
-1
src/main.rs
···
10
10
use atrium_repo::{Repository, blockstore::CarStore};
11
11
use atrium_xrpc_client::isahc::IsahcClient;
12
12
use fuser::MountOption;
13
13
-
use futures::{Stream, StreamExt, TryStream, TryStreamExt, stream};
13
13
+
use futures::{StreamExt, stream};
14
14
use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
15
15
use std::{
16
16
collections::HashMap,