diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2018-10-23 15:39:23 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2019-02-17 11:09:48 +0100 |
commit | db7121ccba11b956c53bd28b246e830446e2c13f (patch) | |
tree | eeab96200b83870c2f6fda59f24ad92ef899fb33 /doc | |
parent | a41479c0ec0dbd530aecb94e7631b16b3e354270 (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.md | 2 |
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" ``` |