MCPcopy Index your code
hub / github.com/Barre/ZeroFS

github.com/Barre/ZeroFS @v2.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0.5 ↗ · + Follow
3,856 symbols 13,480 edges 275 files 991 documented · 26%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ZeroFS GitHub Action

This GitHub Action provides persistent volumes backed by S3-compatible storage for your workflows.

Usage

- uses: Barre/ZeroFS@main
  with:
    object-store-url: 's3://bucket/path'
    encryption-password: ${{ secrets.ZEROFS_PASSWORD }}
    aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Inputs

Name Description Required Default
object-store-url Object store URL (e.g. s3://bucket/path) Yes -
encryption-password Password for filesystem encryption Yes -
mount-path Path where the volume should be mounted No /mnt/zerofs
cache-dir Directory for SlateDB disk cache No /tmp/zerofs-cache
cache-size-gb SlateDB disk cache size in GB No 1
memory-cache-size-gb ZeroFS in-memory cache size in GB No 0.25
aws-access-key-id AWS access key ID (for S3) No -
aws-secret-access-key AWS secret access key (for S3) No -
aws-region AWS region No us-east-1
aws-endpoint S3-compatible endpoint URL No -
aws-allow-http Allow HTTP connections (for MinIO, etc.) No false
azure-storage-account-name Azure storage account name No -
azure-storage-account-key Azure storage account key No -
nfs-host NFS server host address No 127.0.0.1
nfs-port NFS server port No 2049
zerofs-version ZeroFS version to use No latest

Outputs

Name Description
mount-path Path where the volume is mounted
nfs-endpoint NFS endpoint (host:port)

Examples

See the examples directory for complete workflow examples.

Extension points exported contracts — how you extend this code

NodeKind (Interface)
Kind of special node for `mknod`. [43 implementers]
zerofs/zerofs-ffi/bindings/go/zerofs_ffi.go
Benchmark (Interface)
(no doc) [10 implementers]
bench/src/benchmark.rs
InodeAttrs (Interface)
(no doc) [5 implementers]
zerofs/src/fs/inode.rs
DirEntryCookie (Interface)
An entry type with a 9P readdir cookie. [2 implementers]
zerofs/ninep-client/src/ops.rs
ClientResultExt (Interface)
Attach path context while mapping a transport result onto the public error. [1 implementers]
zerofs/zerofs-client/src/error.rs
Section (Interface)
(no doc)
documentation/src/components/SectionProvider.tsx
FilePreviewProps (Interface)
(no doc)
webui/src/components/file-manager/FilePreview.tsx
SetTime (Interface)
A time to set: the server's current clock, or an explicit instant. [43 implementers]
zerofs/zerofs-ffi/bindings/go/zerofs_ffi.go

Core symbols most depended-on inside this repo

clone
called by 627
zerofs/src/db.rs
push
called by 243
zerofs/src/fs/store/extent.rs
as_ref
called by 168
zerofs/ninep-proto/src/deku_bytes.rs
create
called by 155
zerofs/src/fs/mod.rs
write
called by 146
zerofs/src/fs/mod.rs
len
called by 135
zerofs/src/replication/tail.rs
get
called by 125
zerofs/src/dedup.rs
len
called by 119
zerofs/src/dedup.rs

Shape

Method 1,793
Function 1,446
Class 363
Struct 92
Interface 90
Enum 68
FuncType 3
TypeAlias 1

Languages

Rust71%
Go14%
TypeScript13%
Python1%
C++1%

Modules by API surface

zerofs/zerofs-ffi/bindings/go/zerofs_ffi.go527 symbols
zerofs/src/fs/store/extent.rs149 symbols
zerofs/ninep-client/src/lib.rs124 symbols
zerofs/src/object_store_prefetch.rs105 symbols
zerofs/src/fs/mod.rs104 symbols
zerofs/src/config.rs104 symbols
zerofs/ninep-proto/src/protocol.rs102 symbols
zerofs/src/mount.rs98 symbols
zerofs/src/ninep/handler.rs85 symbols
zerofs/tests/failpoints/mod.rs66 symbols
webui/src/lib/ninep/protocol.ts63 symbols
zerofs/src/fs/key_codec.rs60 symbols

Datastores touched

test_dbDatabase · 1 repos

For agents

$ claude mcp add ZeroFS \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact