Commit graph

167 commits

Author SHA1 Message Date
Kevin Liu
01ed2a618d Fix histfile permissions not being set 2016-10-04 05:07:28 -07:00
Kevin Liu
be3192161f Add badge 2016-10-04 04:55:59 -07:00
Kevin Liu
5d70ed9144 Mention log 2016-10-04 04:48:04 -07:00
Kevin Liu
3626b32590 Bump version 2016-10-04 04:48:01 -07:00
Kevin Liu
e3c7a74237 Ensure graveyard has the correct permissions 2016-10-04 04:47:37 -07:00
Kevin Liu
4a6724da0e Add a short option for decompose, with a prompt 2016-10-04 04:31:29 -07:00
Kevin Liu
7c3eb1e7ba Factor out source file removal into bury 2016-10-04 04:01:02 -07:00
Kevin Liu
e8bc9f5594 Only resurrect files buried by the same user 2016-10-04 03:53:16 -07:00
Kevin Liu
7703b069f1 Implement append-only log and stack-based -r 2016-10-03 17:59:20 -07:00
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