Commit graph

158 commits

Author SHA1 Message Date
Kevin Liu
c89f287fac Use uppercase arg name 2016-10-02 20:52:08 -07:00
Kevin Liu
5de2e8071f Allow specifying targets along with options 2016-10-02 20:49:07 -07:00
Kevin Liu
a3a8073bfa Add a special case for fifos 2016-10-02 17:33:43 -07:00
Kevin Liu
3bf9cfc830 Refactor bury to separate directories and files 2016-10-02 17:07:04 -07:00
Kevin Liu
6b7337d26d Refactoring 2016-10-02 03:25:24 -07:00
Kevin Liu
d601ffd137 Update info about changing graveyard directory 2016-10-02 02:35:15 -07:00
Kevin Liu
c297dc06af Be able to set graveyard with environment variable 2016-10-02 02:27:12 -07:00
Kevin Liu
fce8cdf507 Give user the option to delete special files 2016-09-30 18:33:22 -07:00
Kevin Liu
cf4c80246c Trivial changes 2016-09-30 18:33:04 -07:00
Kevin Liu
d5c46f167e Rename read_yes and have it print a prompt message 2016-09-30 18:24:33 -07:00
Kevin Liu
0269b98e6e Flatten method chains 2016-09-30 09:18:04 -07:00
Kevin Liu
09635406a3 Prompt user interaction if histfile is invalid 2016-09-30 08:47:34 -07:00
Kevin Liu
08f76f0812 Bump version 2016-09-30 08:44:07 -07:00
Kevin Liu
f1a8b1afd0 Refactoring 2016-09-23 13:58:53 -07:00
Kevin Liu
21742e78e9 Use short name for binary 2016-09-23 13:57:27 -07:00
Kevin Liu
9f1836fcbd Update manifest 2016-09-19 22:09:26 -07:00
Kevin Liu
b41ec8b7a6 Update README 2016-09-19 21:40:15 -07:00
Kevin Liu
0bd00e0b9b Bump version 2016-09-19 20:12:28 -07:00
Kevin Liu
ee32cacc46 Remove histfile if it would be truncated to 0 2016-09-19 20:02:12 -07:00
Kevin Liu
58f09a55d8 Track all deletion history with histfile
--resurrect now works like a stack, returning files from most to least recently deleted.
2016-09-19 19:31:43 -07:00
Kevin Liu
8c5cf141d3 Expect to return error on special files 2016-09-19 16:23:41 -07:00
Kevin Liu
4a42853ee9 Don't add to histfile if bury failed 2016-09-19 16:16:20 -07:00
Kevin Liu
12dd5dea13 Add license 2016-09-17 22:56:23 -07:00
Kevin Liu
005527d00b Don't explicitly handle unexpected error 2016-09-17 12:57:31 -07:00
Kevin Liu
0a28c6c8e9 Reduce binary size with alloc_system 2016-09-17 12:27:22 -07:00
Kevin Liu
c60d7a5235 Make file handle scope more explicit 2016-09-17 03:34:06 -07:00
Kevin Liu
bfcff5d03c Bump version 2016-09-17 00:32:43 -07:00
Kevin Liu
aea91ce7cf Get rid of panics due to nonexistent files 2016-09-17 00:26:08 -07:00
Kevin Liu
8a48e81d53 Update usage 2016-09-16 21:38:47 -07:00
Kevin Liu
2b0694f480 Add resurrect option 2016-09-16 21:35:54 -07:00
Kevin Liu
03530ae8b9 Add a log that tracks the last deleted file 2016-09-16 17:43:53 -07:00
Kevin Liu
3c2e5c1870 Return Err instead of panicking on failed delete 2016-09-16 16:54:28 -07:00
Kevin Liu
7ab333948f Bump version 2016-09-10 19:18:40 -07:00
Kevin Liu
888220ee23 Update README to reflect new rename 2016-09-10 19:18:03 -07:00
Kevin Liu
46161ce487 Renamed files preserve original extension 2016-09-10 18:57:04 -07:00
Kevin Liu
5c0029e798 Bump version 2016-09-05 08:50:34 -07:00
Kevin Liu
35444e292d Use fs::metadata object instead of Path 2016-09-05 03:57:09 -07:00
Kevin Liu
8ac9242c47 Fix incorrectly checking relative path 2016-09-05 03:53:41 -07:00
Kevin Liu
13f16b233e Simplify seance 2016-09-04 07:08:32 -07:00
Kevin Liu
318c208ae3 Bump version 2016-09-04 07:01:27 -07:00
Kevin Liu
5c7d2a35cc Add --seance 2016-09-04 07:00:07 -07:00
Kevin Liu
e6daa3b532 Add --decompose flag 2016-09-04 06:07:56 -07:00
Kevin Liu
64d2ff7521 Add link to releases 2016-09-04 00:25:50 -07:00
Kevin Liu
21106749cc Bump version 2016-09-04 00:08:10 -07:00
Kevin Liu
85be8de531 Better failure messages 2016-09-04 00:07:43 -07:00
Kevin Liu
2d6e566f35 Clean up graveyard on fail 2016-09-04 00:02:01 -07:00
Kevin Liu
d04afa37e9 Print offending file name on error 2016-09-03 23:43:07 -07:00
Kevin Liu
d90771ff05 Bump version 2016-09-03 19:37:06 -07:00
Kevin Liu
da4eb2128d Fix grave directory structure 2016-09-03 19:34:53 -07:00
Kevin Liu
616e54e4f4 Bump version 2016-09-03 04:29:59 -07:00