Commit graph

120 commits

Author SHA1 Message Date
Kevin Liu
c2a46c768a Factor out function for parsing a line in record 2016-10-20 19:31:24 -07:00
Kevin Liu
0fe7196323 Print error if --decompose fails 2016-10-20 03:58:31 -07:00
Kevin Liu
b23f228421 Factor out some functions into another file 2016-10-20 03:55:06 -07:00
Kevin Liu
c0012b27cb Add option for -r to take a filename
The intention is to be able to chain with -s like -rs in the future to
-r all files that would be printed by -s.
2016-10-20 03:54:29 -07:00
Kevin Liu
5f809fce78 Simpler way to read from record 2016-10-20 01:42:01 -07:00
Kevin Liu
0cfcb5958d Minor changes 2016-10-20 01:41:42 -07:00
Kevin Liu
77d3d1a707 Assign const to number of lines printed by inspect 2016-10-19 02:33:28 -07:00
Kevin Liu
f3aaa4acde Use ? operator now that it's stable 2016-10-18 22:53:09 -07:00
Kevin Liu
1d2c62af09 Build for 64-bit osx 2016-10-18 00:09:18 -07:00
Kevin Liu
3d45ec1151 Edit install notes 2016-10-18 00:07:34 -07:00
Kevin Liu
f16ea23a1a Get rid of branch condition 2016-10-17 23:58:35 -07:00
Kevin Liu
18bd15e493 Fix unwrap on err in seance 2016-10-17 20:23:33 -07:00
Kevin Liu
953c6e0d97 Rename histfile to record 2016-10-17 18:05:03 -07:00
Kevin Liu
a02bcf0edf Add optional depth specifier for --seance 2016-10-17 18:04:24 -07:00
Kevin Liu
efb23c4f4d Bump version 2016-10-17 04:58:06 -07:00
Kevin Liu
32eb462c09 Use Command to make fifo 2016-10-17 04:55:21 -07:00
Kevin Liu
beb72c232a Bump version 2016-10-17 04:47:55 -07:00
Kevin Liu
307c7e0912 Hard code fifo mode for osx 2016-10-17 04:36:22 -07:00
Kevin Liu
217b2946a5 Add link to travis 2016-10-17 04:18:48 -07:00
Kevin Liu
de17fba1fa Make travis build 2016-10-17 04:17:54 -07:00
Kevin Liu
60e291199b Add travis badge 2016-10-17 04:00:20 -07:00
Kevin Liu
beef8b2522 Use sudo 2016-10-17 03:56:54 -07:00
Kevin Liu
5315840681 Add travis 2016-10-17 03:55:04 -07:00
Kevin Liu
eaaf4b2418 Update usage 2016-10-17 03:08:38 -07:00
Kevin Liu
13148b6581 Fix inspecting non-utf8 files 2016-10-17 00:48:30 -07:00
Kevin Liu
83c14ac4bf Bump version 2016-10-17 00:43:45 -07:00
Kevin Liu
9708895b6b Add --inspect option 2016-10-17 00:43:31 -07:00
Kevin Liu
6e64e5175d Use BufReader for stdin to be less buggy 2016-10-17 00:35:24 -07:00
Kevin Liu
81aacb7d4d Add notes 2016-10-16 17:01:16 -07:00
Kevin Liu
f471a13a43 Add note about idempotency 2016-10-16 16:51:50 -07:00
Kevin Liu
7854536917 Better use of WalkDir API 2016-10-16 16:35:06 -07:00
Kevin Liu
5f6a2cc0dc StrExt is now stable 2016-10-16 16:05:21 -07:00
Kevin Liu
f2ff166e12 Fix wrong path being passed to write_log 2016-10-16 16:04:53 -07:00
Kevin Liu
e30bec17f5 Refactor everything with AsRef<Path> 2016-10-16 15:51:33 -07:00
Kevin Liu
7b50b104d1 Minor changes 2016-10-16 14:52:26 -07:00
Kevin Liu
64d075f3e7 Bump version 2016-10-15 20:32:37 -07:00
Kevin Liu
7f116fbcca Don't follow symlinks when resolving duplicate names 2016-10-15 20:21:10 -07:00
Kevin Liu
14c903967d Bump version 2016-10-15 19:34:06 -07:00
Kevin Liu
79ccc49fb0 Preserve mode of explicitly deleted directories 2016-10-15 19:32:56 -07:00
Kevin Liu
f20d9e8bb5 Return line in histfile only if file exists
This calls stat() for every single manually deleted file, which may get
expensive if a graveyard and histfile are significantly out of sync from
mv's and rm's.
2016-10-15 18:19:25 -07:00
Kevin Liu
4ef1a4c178 Check for name collision on resurrect too 2016-10-15 18:11:34 -07:00
Kevin Liu
b2c8d109b2 Refactor with is_err and is_ok 2016-10-15 17:46:24 -07:00
Kevin Liu
80b6be7b80 Disable umask before resurrect 2016-10-15 17:15:25 -07:00
Kevin Liu
100bbc8bc9 Fix use after free due to insufficient lifetime 2016-10-15 16:59:52 -07:00
Kevin Liu
a5f730bc38 Preserve mode when recreating a fifo 2016-10-15 16:39:29 -07:00
Kevin Liu
b2d362c9c0 Bump version 2016-10-14 18:41:19 -07:00
Kevin Liu
d863468606 Handle symlinks that resolve to invalid paths 2016-10-14 18:38:56 -07:00
Kevin Liu
a7bbb3ad67 Properly handle symlinks 2016-10-14 16:50:06 -07:00
Kevin Liu
d43762c36d Fix create dir in source instead of dest 2016-10-12 22:16:41 -07:00
Kevin Liu
a494b53618 Bump version 2016-10-12 21:48:33 -07:00