Commit graph

3608 commits

Author SHA1 Message Date
a29242c586 Impl Display for Ref 2016-07-04 20:18:52 +02:00
66cdc192c2 Annotate that we have a closure which takes &Entry here 2016-07-04 20:13:45 +02:00
2cd511c0c1 Make CoreLister generic 2016-07-04 20:04:38 +02:00
ebf185fd29 Add Ref::from_filelockentry() 2016-07-04 19:29:02 +02:00
617cb97ddf Add Ref::get_path_hash() 2016-07-04 19:29:02 +02:00
a240b99773 Impl Ref::get_by_hash() 2016-07-04 19:29:02 +02:00
38557e9a9b impl Ref::delete() 2016-07-04 19:29:02 +02:00
31f32a4e59 Ref: derive Debug 2016-07-04 19:29:02 +02:00
bb4b705816 Impl Default for RefFlags 2016-07-04 19:29:02 +02:00
757d69f41a Impl: Ref::refind() 2016-07-04 19:29:02 +02:00
cc8048ea24 Impl Ref::update_ref() 2016-07-04 19:29:02 +02:00
72a125ab62 Extract permissions getting into helper function 2016-07-04 19:29:02 +02:00
6a24fcb7e4 Outsource hash getter functions into new (pub) functions 2016-07-04 19:29:02 +02:00
9604f94f17 Impl Ref::fs_link_valid() 2016-07-04 19:29:02 +02:00
5bf11af82c Impl Ref::fs_link_valid_permissions() 2016-07-04 19:29:02 +02:00
4b98b168e5 Impl Ref::exists() 2016-07-04 19:29:02 +02:00
079675c4f0 Impl Ref::fs_link_valid_hash() 2016-07-04 19:29:02 +02:00
6757c673c4 Extract file-content-hashing functionality to new private function 2016-07-04 19:29:02 +02:00
7613526aff Impl Ref::is_ref_to_dir() 2016-07-04 19:29:02 +02:00
ca48e2ac39 Impl Ref::is_ref_to_file() 2016-07-04 19:29:02 +02:00
904d81595b Impl Ref::fs_file() 2016-07-04 19:29:02 +02:00
ac0d22e479 Impl Ref::fs_link_exists() 2016-07-04 19:29:02 +02:00
130ea0db13 Impl Ref::hash_path() (changes returntype) 2016-07-04 19:29:02 +02:00
4ccbb174fa Impl Ref::create() 2016-07-04 19:29:02 +02:00
ca86f3c6ad Impl Ref::is_ref_to_dir() 2016-07-04 19:29:02 +02:00
682acfcf81 Impl Ref::is_ref_to_file() 2016-07-04 19:29:02 +02:00
19f273db45 Impl Ref::is_dangling() 2016-07-04 19:29:02 +02:00
b219f06a65 Impl Ref::open() 2016-07-04 19:29:02 +02:00
5cfedf3570 Impl RefFlags::get_permission_tracking() 2016-07-04 19:29:02 +02:00
8989791c7a Impl RefFlags::get_content_hashing() 2016-07-04 19:29:02 +02:00
d00af36700 Impl RefFlags::with_permission_tracking() 2016-07-04 19:29:02 +02:00
7a11588ec2 Impl RefFlags::with_permission_tracking() 2016-07-04 19:29:02 +02:00
303a0c2bf8 Impl RefFlags::with_content_hashing() 2016-07-04 19:29:02 +02:00
57e653e384 Impl RefFlags::into_toml() as Into<Value> for RefFlags 2016-07-04 19:29:02 +02:00
14cd99f5f2 Impl RefFlags::read() 2016-07-04 19:29:02 +02:00
6a701d9646 Add result type 2016-07-04 19:29:02 +02:00
e19a30d227 Add error module 2016-07-04 19:29:02 +02:00
f6ff775249 Add concept of RefFlags 2016-07-04 19:29:02 +02:00
a3b3520591 Add Ref type 2016-07-04 19:29:02 +02:00
6d41747fdb Initial import 2016-07-04 19:29:02 +02:00
d7f22020e6 Merge pull request #489 from matthiasbeyer/libimagstore/storify-id
Libimagstore/storify
2016-07-04 19:26:42 +02:00
93ef146fff Merge pull request #487 from matthiasbeyer/libimagstore/storeid-display
Impl Display for StoreId
2016-07-04 19:26:15 +02:00
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
mario
5f731c8f8f change from libimagutil::trace to libimagerror::trace 2016-07-04 14:04:11 +02:00
mario
84deb2fe54 Merge branch 'master' of https://github.com/matthiasbeyer/imag into imag-task 2016-07-04 13:45:45 +02:00
323c545db9 Merge pull request #490 from impo/doc/add-manpage-docs
Generate manpage from doc
2016-07-04 13:16:49 +02:00
9605d6daa6 Ensure that StoreId::storified() does not alter already storified StoreId objects 2016-07-04 12:49:12 +02:00
a706680fd5 Revert "Store::create() Make outgoing storeid object unstorified"
This reverts commit 41d7d1c213.
2016-07-04 12:46:06 +02:00
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