4d650a63f7
Add error kind for implicit create denied
2016-07-25 17:02:38 +02:00
9f213ddc31
Add error kind for storeid handling errors
2016-07-04 12:44:58 +02:00
0a05b9825c
call helper generator macros in error module
2016-06-27 17:59:46 +02:00
e75b524e53
Add error kinds for Move functions
2016-06-08 15:11:53 +02:00
f885e6c80b
Implement move_by_id()
2016-06-08 14:03:17 +02:00
d85f747066
Add a set of error kinds to identify the store call the error came from
2016-05-28 23:30:50 +02:00
80b9cae5fe
Merge pull request #391 from matthiasbeyer/libimagstore/get
...
Libimagstore/get
2016-05-23 20:01:38 +02:00
e45d9200bf
Adapt error generating code in libimagstore
2016-05-23 17:06:07 +02:00
df33dec0c3
Add new error kind: StorePathError
2016-05-23 14:51:39 +02:00
cc8642f54f
libimagstore: Replace error module imports with macro helper
2016-05-19 18:22:03 +02:00
627fa7de46
Replace error code with macro for code generation
2016-05-17 00:26:35 +02:00
Andre Bogus
981707c9c9
more style adaptations
...
again following clippy
2016-05-13 22:27:53 +02:00
22052ba9f0
Add some more error types to be more specific about what happened
2016-03-25 13:30:16 +01:00
041a2a4942
Add encoding error if typeconversion fails
2016-03-19 15:15:04 +01:00
fe0849f8eb
Add implementation for Store::retrieve_for_module()
2016-03-19 15:15:04 +01:00
80945fcd16
Rewrite build_entry_path() so it does not panic!() anymore
2016-03-19 14:48:09 +01:00
a771db9ea4
Add error kind for config errors
2016-03-16 16:46:53 +01:00
a9600f23b3
Threaded hook execution
2016-03-16 16:46:52 +01:00
3421e8d4d9
Add HookExecutionError error kind
2016-03-16 16:46:52 +01:00
3cf2588104
Add error types for pre/post hooks
2016-03-16 16:39:39 +01:00
d99d25a3e1
Add HookRegisterError kind
2016-03-16 16:39:14 +01:00
3413646934
Revert "Check whether the StoreId is inside the store, before doing anything on the FS"
...
This reverts commit 373502217e
as this commit was introducing a bug.
The StoreId type says `/test/example` for a store id path, which is
completely valid, as the root (`/`) is the store itself. The
id_in_store() function assumed that the store-id is the full
(file-system) path to the store entry, which is false.
This commit does not introduce a fix but revert the check.
2016-03-10 18:14:53 +01:00
b4362f5c65
Alter: EntryHeader should contain a Value, not the BTreeMap<>
2016-02-12 20:02:56 +01:00
a2e3598c01
Add more error types for header walking
2016-02-11 15:43:58 +01:00
2f6cfb5868
Add interface for header field addressing by str
2016-02-11 15:43:58 +01:00
a0afc9245b
Merge pull request #186 from TheNeikos/verify-toml_table
...
Verify that nothing but tables exist in base table
2016-02-07 01:54:35 +01:00
Marcel Müller
6173cff762
Verify that nothing but tables exist in base table
2016-02-07 01:27:50 +01:00
373502217e
Check whether the StoreId is inside the store, before doing anything on the FS
2016-02-06 18:48:59 +01:00
814e85508b
store/error: Remove unused imports
2016-01-29 23:06:04 +01:00
Marcel Müller
ee8cf35fcc
Implement store::create
2016-01-24 17:34:29 +01:00
Marcel Müller
c7f584a81a
Add from_str to Entry
2016-01-24 17:04:33 +01:00
Marcel Müller
a64ffdfc56
Implement entry reading
2016-01-24 17:04:33 +01:00
Marcel Müller
97b7090824
Partially implement get_entry
2016-01-24 17:04:33 +01:00
Marcel Müller
50413101c4
Move entry, content and header into store
2016-01-24 17:04:32 +01:00
Marcel Müller
ba2e52788b
Add entry_creation
2016-01-24 17:04:32 +01:00
Marcel Müller
d949cddc65
Implement Store::retrieve
2016-01-24 17:04:32 +01:00
0c3bcc3f15
Add error kind: Create errors
2016-01-23 11:57:40 +01:00
80b0501d03
Introduce error if the store path exists but is a file
2016-01-23 11:57:40 +01:00
cfa8c29eaf
error.rs: Add documentation
2016-01-21 21:31:48 +01:00
Marcel Müller
5d3cb4a3af
iQIcBAABCgAGBQJWnRh+AAoJEN1O030MrHbiUHQQAJ3bhzz4O7qytq9X4WUkW80W
...
A+Dk5Oyzm4QajdMDw1lW+FJT1LHAA4q14nTKTZlCZKT0doxZYbQENrBjzhAQaKin
kIZSrCmKulziAVLIuXGq9wmaz6CJ4kHb+GWlC82U575yIb8XBpqpIjUAwboP9xZk
xHaGT8l9+KPMUCXd9zU3KCJHg3ZO3ckOJm0gmG4JvmvaUX+r38cgO3zwRPpdVLVW
cnQ/aPLkaeLfP2auSdRDeVOkhcl5uWgdQcvnqTkPUb+gQUXV01WpqzoxmVhEPVv1
kLWIGRzFEmxrNadAqJTC9AE5DBnoRM7/cge2QZ9vVtJsdcwRYwjw4qSunvPAusdb
lXmA0+1aJPpkGMHVywNBHYq5fR89etrQBZ3Roz9LAp2eKNAsXyJYg0CT6PgzmEhp
cPVOCHizXWwCLFRZI0zn9WSWS9EFm0H2FJDGfSDAoNPyO2RAmtu+8tXU+vgwvox+
B3j5jEQmF8c8A+SE0Qeh7IloQWMXCfnJrgeo7sbhYq8w0WPTLhiX7BEtu3K3Nvi6
bG00BHihvOD2wu1DiTIzPTJkP3rMK4VD6sZmXSUFjEVtzn1rN9l2hYjkyMQj/xlG
RATEMP4TvB/eVktfZ+nFr5XtGGFAY1hsVBd5FnV874J6OHGD6zqt21lgxGCF0MUw
cwqyKk6K+l6Ljf8UAdvx
=Ni+I
-----END PGP SIGNATURE-----
Add file creation
2016-01-18 17:53:18 +01:00
Homu
bec97f8fc2
Auto merge of #111 - neithernut:impl-store-delete, r=matthiasbeyer
...
Implement `Store::delete()`
Targets #106 .
2016-01-17 10:12:30 -08:00
Julian Ganz
bcebe86546
Add new error type for low-level file system errors
2016-01-17 18:45:26 +01:00
Julian Ganz
78701c7332
Add error type for communicating that an entry is locked
...
We need this error type to let the user know when she is trying to
remove an item which is currently edited.
2016-01-17 18:45:26 +01:00
48071fbc7b
Remove unused imports
2016-01-17 16:23:35 +01:00
86e7dde4b7
Derive Debug for StoreError
2016-01-16 14:29:09 +01:00
f36615940a
Do not impl Debug but derive
2016-01-16 14:26:29 +01:00
0ace28897f
derive Copy in StoreErrorKind
2016-01-16 14:18:49 +01:00
e7c43c2c9d
Rename: StoreErrorType -> StoreErrorKind
2016-01-16 14:09:34 +01:00
e467c1e8ec
Remove StoreError::expl member
2016-01-16 14:08:39 +01:00
b74e0f713f
Remove From<StoreErrorType> for String and provide private helper for that functionality
2016-01-16 14:06:55 +01:00