Matthias Beyer
731b97cccb
Fix: Pass the right path variable here
...
The ref library passed the wrong variable as path which caused the
setting in the entries to be wrong.
This patch fixes this.
2018-04-13 14:06:15 +02:00
Matthias Beyer
5ceeacd6c8
Provide Ref::make_ref() for making a ref out of an existing entry
2018-03-19 14:18:02 +01:00
Matthias Beyer
2328c8b2b0
Take AsRef<str> rather than &String
2018-02-19 12:14:32 +01:00
Matthias Beyer
81a8826740
Add impl for RefStore::{get,create,retrieve}_ref()
2018-02-19 12:14:32 +01:00
Matthias Beyer
1014f58cfc
Rewrite interface
2018-02-19 12:14:32 +01:00
Matthias Beyer
d5a9e4930d
Update dates in license header
...
And add missing header in one file
2018-02-07 02:48:53 +01:00
Matthias Beyer
7fb13acf15
Add Ref::is_ref()
2018-01-08 23:46:36 +01:00
Matthias Beyer
078936191b
Replace uses of try!() macro with "?" operator
2017-10-31 15:04:50 +01:00
Matthias Beyer
d37de44c94
Add RefStore::find_storeid_by_partial_hash() helper
2017-10-14 14:05:56 +02:00
Matthias Beyer
6c387e893c
Add RefStore::get_by_partial_hash()
2017-10-14 13:36:04 +02:00
Matthias Beyer
e74745c9fc
Remove RefStore::get() which was simply a wrapper to Store::get()
2017-10-14 13:08:37 +02:00
Matthias Beyer
db64c06409
Add RefStore::all_references()
2017-09-28 17:52:27 +02:00
Matthias Beyer
cac7697054
Refactor errors to use error-chain linking functionality
2017-09-24 13:05:16 +02:00
Matthias Beyer
c115215fa4
Merge branch 'master' into libimagerror/integration
...
This merge solved a _LOT_ of conflicts and was a rather complicated one,
as parts of the conflict-resolution involved rewriting of half the
stuff.
This merge commit fixes all the things so a `cargo check --all`
succeeds, but I did not yet check whether tests run without failure.
2017-09-04 23:02:45 +02:00
Matthias Beyer
ec639be3e1
Fix artifacts from libimagstore::toml_ext times
2017-08-31 20:56:13 +02:00
Matthias Beyer
74ec12d5c2
Remove artifacts
...
I don't even know how this could re-appear in the codebase as we removed
the toml_ext thing a while ago... strange!
2017-08-31 20:56:13 +02:00
Matthias Beyer
9a9a3f2f43
Merge branch 'libimagstore/remove-unused' into integrate-remove-unused
...
The merge conflicts which were resolved may roll back some changes from
the merged branch (unknowingly).
These will be fixed in the next commits
2017-08-31 20:56:08 +02:00
Matthias Beyer
d58b97fdf1
Light refactoring
...
Use .map_err_into() instead of manual wrapping,
some boilerplate minimized.
2017-08-28 14:32:50 +02:00
Matthias Beyer
cf19e0563c
Reorganize functionality in traits
2017-08-28 14:32:50 +02:00