749f08ca66
fixup for 9231cf5f
2016-07-08 16:30:50 +02:00
2ed07d4f7d
Impl BookmarkCollection::add_link()
2016-07-08 16:30:11 +02:00
db21fa9dd4
Add IntoUrl trait for Link type
...
With this we can translate a Link type into an URL type from url::Url
2016-07-08 16:29:48 +02:00
3b82311dfd
Add more specific linking error kinds
2016-07-08 16:29:06 +02:00
22e07d171b
fixup! Add depenndency: regex
2016-07-08 16:21:24 +02:00
3b485febe4
fixup! Add Link type
2016-07-08 16:20:35 +02:00
9231cf5fb7
Add interface for working with BookmarkCollection
...
Oh my god I'm so drunk right now.
It's 0030 and I had dinner at around 1800 yesterday and then I just
drank like... two Mate and maybe 1L of water... and now I drank 0.33L
beer and I'm drunk as fuck... just wanted to share.
I hope this commit still makes sense... I'm not sure, I should
definitively review this tomorrow.
So... maybe I can do some more.
Btw., I just saw "The Martian" - the movie, you know. Oh my god, I love
Matt Damon - I think he's a really nice actor, actually.
I probably shouldn't put this into the commit message, I know... Just
wanted to have some fun here.. sorry.
2016-07-08 00:27:45 +02:00
ee51de088a
Add Link type
2016-07-08 00:27:35 +02:00
eb47f08479
Add depenndency: regex
2016-07-08 00:23:56 +02:00
5fa189fb4e
Impl BookmarkCollection::delete()
2016-07-08 00:12:05 +02:00
ed1eea053a
Impl BookmarkCollection::get()
2016-07-08 00:11:54 +02:00
f2cc233c37
Add error kind if collection cannot be found
2016-07-08 00:11:27 +02:00
0714d58db0
Add initial codebase
2016-07-08 00:01:44 +02:00
63d2f56a88
Add dependencies
2016-07-07 23:46:06 +02:00
5a0720e3bb
Initial import
2016-07-07 23:46:06 +02:00
4ec3e29459
Merge pull request #481 from matthiasbeyer/imag-ref/init
...
Imag ref/init
2016-07-06 14:42:24 +02:00
dd4349f24f
Merge pull request #503 from matthiasbeyer/libimagstore/storeid-display-fix
...
Fix Display impl for StoreId by using lossy string rep if PathBuf::to…
2016-07-05 15:25:23 +02:00
5bfdd5a827
Impl remove()
2016-07-05 13:50:00 +02:00
8eeb8bb310
Add imports
2016-07-05 13:49:29 +02:00
3eb5e82839
Impl add()
2016-07-05 13:49:29 +02:00
6fc05a027b
Add main()
2016-07-05 13:49:29 +02:00
56759ecba8
Add ui module
2016-07-05 13:49:29 +02:00
d5cb5be4ab
Add dependencies
2016-07-05 13:49:29 +02:00
c45b5ba975
Initial import
2016-07-05 13:49:29 +02:00
64ddb501e2
Merge pull request #500 from matthiasbeyer/libimagref/delete-fix
...
Fix: We cannot offer a Ref::delete(self), but a Ref::delete_by_hash()
2016-07-05 13:48:22 +02:00
580ea28877
Fix Display impl for StoreId by using lossy string rep if PathBuf::to_str() fails
2016-07-05 13:47:58 +02:00
55c39ac94d
Fix: We cannot offer a Ref::delete(self), but a Ref::delete_by_hash()
...
We cannot offer the former because deleting self would always fail as
the FileLockEntry is already borrowed from the store, so the store
declines this.
But deleting by hash works.
2016-07-05 12:42:52 +02:00
1211a99775
Merge pull request #496 from matthiasbeyer/libimagentrylist/generic-core
...
libimagentrylist: Make CoreLister generic
2016-07-05 09:00:19 +02:00
fced22a281
Merge pull request #468 from matthiasbeyer/libimagref/init
...
libimagref/init
2016-07-05 09:00:14 +02:00
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