imag/lib/core/libimagstore/src
Matthias Beyer 23f4d7948f Fix Store::entries() to not yield directories
Before the iterator did also yield storeids for directories, which was a
bug.

This change introduces a new if_file() function in the store-internal
backend, which is needed to check whether a path actually points to a
File, be it inmemory or on the real filesystem.

That's because tests might fail if they check via PathBuf::is_file() as
in tests, the entries only exist inmemory.
2017-10-13 14:26:06 +02:00
..
file_abstraction Fix Store::entries() to not yield directories 2017-10-13 14:26:06 +02:00
configuration.rs libimagstore: rewrite error handling code 2017-09-03 21:33:54 +02:00
error.rs Add param to StoreIdHasNoBaseError 2017-09-10 10:48:51 +02:00
iter.rs Minify iterator helper implementation 2017-09-15 13:17:12 +02:00
lib.rs Add simple iterator helpers for StoreIdIterator -> CRUD Iterator 2017-09-15 13:07:49 +02:00
store.rs Fix Store::entries() to not yield directories 2017-10-13 14:26:06 +02:00
storeid.rs Add param to StoreIdHasNoBaseError 2017-09-10 10:48:51 +02:00
util.rs libimagstore: rewrite error handling code 2017-09-03 21:33:54 +02:00