summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2019-04-22 14:01:28 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-04-27 02:05:03 +0200
commit0d9691ab0b710d21fe7b47f0d110146491d1dd8b (patch)
tree539b5488b2878b12491b924290a96283a4489cf0 /doc
parent0ec080fc7de439751cbc2b9cd3640b96caeeef92 (diff)
Update header example
Diffstat (limited to 'doc')
-rw-r--r--doc/src/05100-lib-entryref.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/src/05100-lib-entryref.md b/doc/src/05100-lib-entryref.md
index 46409205..986044c9 100644
--- a/doc/src/05100-lib-entryref.md
+++ b/doc/src/05100-lib-entryref.md
@@ -41,9 +41,12 @@ libimagentryref does store the following data:
```toml
[ref]
-filehash.sha1 = "<sha1 hash of the file>"
+basepath = "music"
+is_ref = true # marker that this entry is actually a "ref"
relpath = "Psy_trance_2018_yearmix.mp3"
-collection = "music"
+
+[ref.hash]
+sha1 = "<sha1 hash of the file>"
```
The filehash is stored so that libimagentryref can re-find the file whenever it