Skip to content

Commit 00224f3

Browse files
committed
docs(sample): fix storage layout diagram to match fanout + symbolic ref implementation
1 parent d444f2e commit 00224f3

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

samples/17-git-like-versioning/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,13 @@ The generated script undoes every change introduced between the V3 snapshot and
207207
After running the demo, committed objects are stored in:
208208
```
209209
.deepdiffdb/
210-
HEAD — hash of the latest commit
210+
HEAD — symbolic ref: "ref: refs/heads/main"
211211
objects/
212-
<sha256>.json — one file per commit (schema diff + data diff + schemas)
212+
<2-char>/
213+
<62-char> — zlib-compressed commit object (Git fanout layout)
214+
refs/
215+
heads/
216+
main — tip hash for the main branch
213217
```
214218

215219
## Teardown

0 commit comments

Comments
 (0)