From 32ae28d7fb9fa1a80c8c6c146f9f5b5811008e1f Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Wed, 28 Apr 2021 16:08:27 +0200 Subject: [PATCH] Better explanation --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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)