Better explanation

This commit is contained in:
Quentin 2021-04-28 16:08:27 +02:00
parent 39282224cc
commit 32ae28d7fb
Signed by: quentin
GPG key ID: A98E9B769E4FF428

View file

@ -104,6 +104,15 @@ Options:
## Seafile on-disk storage
Seafile sees your filesystem as an entity to store objects having IDs.
So, all files in Seafile's storage follow the following pattern:
```
.../storage/{commits,fs,blocks}/$repo_id/$obj_id[:2]/$obj_id[2:]
```
The following schema explains how these objects are linked between them and how to read them:
```
storage/commits/(repoid) storage/fs/(repoid) storage/blocks/(repoid)
(plain text json) (json + zlib) (chunk of raw data)