summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2018-10-23 15:39:23 +0200
committerMatthias Beyer <mail@beyermatthias.de>2019-02-17 11:09:48 +0100
commitdb7121ccba11b956c53bd28b246e830446e2c13f (patch)
treeeeab96200b83870c2f6fda59f24ad92ef899fb33 /doc
parenta41479c0ec0dbd530aecb94e7631b16b3e354270 (diff)
Rewrite library
* Remove old code * Rewrite with tests This implements a fassade pattern for ref library With the fassade, we can specify the hasher in a rather easy way, which is not possible with default generics for traits. The "default" part in "default generic type" is not properly implemented yet (as visible in the tests), as I don't know how to realize this. For simplicity, the `hasher` module exports a `default` module with a `DefaultHasher` type, which resolves to the `Sha1Hasher`. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/05100-lib-entryref.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/05100-lib-entryref.md b/doc/src/05100-lib-entryref.md
index 156af102..46409205 100644
--- a/doc/src/05100-lib-entryref.md
+++ b/doc/src/05100-lib-entryref.md
@@ -42,7 +42,7 @@ libimagentryref does store the following data:
```toml
[ref]
filehash.sha1 = "<sha1 hash of the file>"
-relpath = "/Psy_trance_2018_yearmix.mp3"
+relpath = "Psy_trance_2018_yearmix.mp3"
collection = "music"
```