Commit Graph

2186 Commits

Author SHA1 Message Date
Matthias Beyer 6757c673c4 Extract file-content-hashing functionality to new private function 2016-07-04 19:29:02 +02:00
Matthias Beyer 7613526aff Impl Ref::is_ref_to_dir() 2016-07-04 19:29:02 +02:00
Matthias Beyer ca48e2ac39 Impl Ref::is_ref_to_file() 2016-07-04 19:29:02 +02:00
Matthias Beyer 904d81595b Impl Ref::fs_file() 2016-07-04 19:29:02 +02:00
Matthias Beyer ac0d22e479 Impl Ref::fs_link_exists() 2016-07-04 19:29:02 +02:00
Matthias Beyer 130ea0db13 Impl Ref::hash_path() (changes returntype) 2016-07-04 19:29:02 +02:00
Matthias Beyer 4ccbb174fa Impl Ref::create() 2016-07-04 19:29:02 +02:00
Matthias Beyer ca86f3c6ad Impl Ref::is_ref_to_dir() 2016-07-04 19:29:02 +02:00
Matthias Beyer 682acfcf81 Impl Ref::is_ref_to_file() 2016-07-04 19:29:02 +02:00
Matthias Beyer 19f273db45 Impl Ref::is_dangling() 2016-07-04 19:29:02 +02:00
Matthias Beyer b219f06a65 Impl Ref::open() 2016-07-04 19:29:02 +02:00
Matthias Beyer 5cfedf3570 Impl RefFlags::get_permission_tracking() 2016-07-04 19:29:02 +02:00
Matthias Beyer 8989791c7a Impl RefFlags::get_content_hashing() 2016-07-04 19:29:02 +02:00
Matthias Beyer d00af36700 Impl RefFlags::with_permission_tracking() 2016-07-04 19:29:02 +02:00
Matthias Beyer 7a11588ec2 Impl RefFlags::with_permission_tracking() 2016-07-04 19:29:02 +02:00
Matthias Beyer 303a0c2bf8 Impl RefFlags::with_content_hashing() 2016-07-04 19:29:02 +02:00
Matthias Beyer 57e653e384 Impl RefFlags::into_toml() as Into<Value> for RefFlags 2016-07-04 19:29:02 +02:00
Matthias Beyer 14cd99f5f2 Impl RefFlags::read() 2016-07-04 19:29:02 +02:00
Matthias Beyer 6a701d9646 Add result type 2016-07-04 19:29:02 +02:00
Matthias Beyer e19a30d227 Add error module 2016-07-04 19:29:02 +02:00
Matthias Beyer f6ff775249 Add concept of RefFlags 2016-07-04 19:29:02 +02:00
Matthias Beyer a3b3520591 Add Ref type 2016-07-04 19:29:02 +02:00
Matthias Beyer 6d41747fdb Initial import 2016-07-04 19:29:02 +02:00
Matthias Beyer d7f22020e6 Merge pull request #489 from matthiasbeyer/libimagstore/storify-id
Libimagstore/storify
2016-07-04 19:26:42 +02:00
Matthias Beyer 93ef146fff Merge pull request #487 from matthiasbeyer/libimagstore/storeid-display
Impl Display for StoreId
2016-07-04 19:26:15 +02:00
Matthias Beyer 05d5b64db8 Merge pull request #492 from mario-kr/fix_commands-not-shown
fix command finding in imag/bin/src/main.rs
2016-07-04 19:23:33 +02:00
mario 04fff6070d changed from path().starts_with(PATH/imag-) to path.filename().starts_with(imag-) for simplicity. Also filtered out the command name for displaying 2016-07-04 17:41:38 +02:00
Matthias Beyer 323c545db9 Merge pull request #490 from impo/doc/add-manpage-docs
Generate manpage from doc
2016-07-04 13:16:49 +02:00
Matthias Beyer 9605d6daa6 Ensure that StoreId::storified() does not alter already storified StoreId objects 2016-07-04 12:49:12 +02:00
Matthias Beyer a706680fd5 Revert "Store::create() Make outgoing storeid object unstorified"
This reverts commit 41d7d1c213.
2016-07-04 12:46:06 +02:00
Matthias Beyer 31d5dac63d Revert "Add StoreId::unstorified()"
This reverts commit 37380c84b9.

We do not want such a feature in the store, actually.
StoreId objects are either storified or not, but you cannot unstorify
them.
2016-07-04 12:45:17 +02:00
Matthias Beyer 41d7d1c213 Store::create() Make outgoing storeid object unstorified 2016-07-04 12:44:58 +02:00
Matthias Beyer 9f213ddc31 Add error kind for storeid handling errors 2016-07-04 12:44:58 +02:00
Matthias Beyer 37380c84b9 Add StoreId::unstorified() 2016-07-04 12:44:58 +02:00
Gavin Thomas Claugus 2760e30d6c Define tasks for manpage generation
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:27:11 -04:00
Gavin Thomas Claugus 9c6a9b5eed Define TARGET_MAN variable with manpage target dir
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:13:48 -04:00
Gavin Thomas Claugus 7bc2c094a1 Export PANDOC_CC_MAN command
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:12:51 -04:00
Gavin Thomas Claugus c0042196da Add DOCUMENT_SETTINGS_MAN variable
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:09:20 -04:00
Gavin Thomas Claugus 0185ab3fd8 Export manpage output directory
Signed-off-by: Gavin Thomas Claugus <gclaugus@gmail.com>
2016-07-03 13:06:18 -04:00
Matthias Beyer 12b8f8f331 Move storification of StoreId object to new StoreId::storified() func 2016-07-02 17:52:12 +02:00
Matthias Beyer ea4487a481 Impl Display for StoreId 2016-06-30 11:02:58 +02:00
Matthias Beyer 80a198523a Merge pull request #483 from matthiasbeyer/libimagrt/map_err
Replace error boxing and wrapping by helper generated with libimagerror
2016-06-27 19:53:31 +02:00
Matthias Beyer 2ce6e8fef5 Merge pull request #482 from matthiasbeyer/libimagstore/map_err
Libimagstore/map err
2016-06-27 19:07:31 +02:00
Matthias Beyer c03fb00c20 Replace error boxing and wrapping by helper generated with libimagerror 2016-06-27 18:23:54 +02:00
Matthias Beyer 45a24de853 store.rs: Replace error boxing and wrapping with result helper from libimagerror 2016-06-27 18:16:43 +02:00
Matthias Beyer 484520842a lazyfile.rs: Replace error boxing and creation by call to new helper function 2016-06-27 18:00:12 +02:00
Matthias Beyer 0a05b9825c call helper generator macros in error module 2016-06-27 17:59:46 +02:00
Matthias Beyer 65911057bf Merge pull request #480 from matthiasbeyer/libimagerror/result-helper
Libimagerror/result helper
2016-06-27 17:54:18 +02:00
Matthias Beyer 7ffd28b592 Add tests for Option::ok_or_errkind() extension function 2016-06-27 15:12:24 +02:00
Matthias Beyer 5c8dbac34d Add test for error kind mapping 2016-06-27 15:12:24 +02:00