From db7121ccba11b956c53bd28b246e830446e2c13f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Tue, 23 Oct 2018 15:39:23 +0200 Subject: 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 --- doc/src/05100-lib-entryref.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') 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 = "" -relpath = "/Psy_trance_2018_yearmix.mp3" +relpath = "Psy_trance_2018_yearmix.mp3" collection = "music" ``` -- cgit v1.2.3