diff --git a/README.md b/README.md index 0b72faf..dfd372a 100644 --- a/README.md +++ b/README.md @@ -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)