Kevin Liu
3a2ab0ee85
Bump version
2020-02-28 01:22:29 -08:00
Kevin Liu
f8b2272f93
Bump version
2020-02-28 01:19:09 -08:00
Kevin Liu
68ad56c83b
Refactor and rustfmt
2020-02-28 00:49:15 -08:00
Sergey Smirnykh
d24fe6d776
[Fix]: Use $XDG_DATA_HOME/graveyard instead of $XDG_DATA_HOME/tmp/graveyard
2020-02-28 00:31:20 -08:00
Sergey Smirnykh
f222a770fb
Update README.org
2020-02-28 00:31:20 -08:00
Sergey Smirnykh
36a7d26195
Use "$XDG_DATA_HOME/graveyard" if possible
...
Use XDG_DATA_HOME environment variable if the variable is set
and no other options like GRAVEYARD or '--graveyard=' were specified.
In such case use "$XDG_DATA_HOME/graveyard" as graveyard.
Since XDG_* variables are user-specific,
there is no reason to append username to the name of graveyard folder.
2020-02-28 00:31:20 -08:00
Kevin Liu
9b26351439
Add Cargo.lock
2020-02-28 00:25:22 -08:00
Kevin Liu
7e98544ba1
Undo
2019-10-13 01:44:54 -07:00
Kevin Liu
3599c0a6d2
Add AUR instructions
2019-10-13 01:32:39 -07:00
Kevin Liu
7a37b3fc01
Update metadata
2019-06-02 21:35:06 -07:00
Kevin Liu
6d3a5b851b
Add bin.path
2018-12-24 16:03:31 -08:00
Kevin Liu
ce402143f5
Bump version
2018-12-24 15:44:26 -08:00
Kevin Liu
beeba6607c
Fix Cargo.toml warnings
2018-12-24 15:41:15 -08:00
Kevin Liu
c416dd94e8
Make rip work on stable
2018-12-24 15:36:49 -08:00
Kevin Liu
8d8e1b9225
Cleanup
2017-01-31 15:27:03 -08:00
Kevin Liu
6ef482b7f2
Bump version
2017-01-31 15:11:00 -08:00
Kevin Liu
88d876eda0
Properly chain together bury error
2017-01-31 15:10:06 -08:00
Kevin Liu
3bd5513b77
Use stderr for errors
2017-01-31 04:17:18 -08:00
Kevin Liu
415fd4288c
Bump dependencies and add categories
2017-01-31 04:16:54 -08:00
Kevin Liu
ed7492ccea
Remove unnecessary allocation for graveyard path
2017-01-27 14:15:03 -08:00
Kevin Liu
a2d038025e
Bump version and add error-chain dependency
2016-12-22 03:49:45 -08:00
Kevin Liu
08429ed64c
More monadic way of reading input
2016-12-22 03:40:24 -08:00
Kevin Liu
a04a905f60
Refactor around error_chain
2016-12-22 03:34:39 -08:00
Kevin Liu
00ef201266
Use Path/Pathbuf instead of strings
2016-11-12 12:11:16 -08:00
Kevin Liu
5f8deabf8b
Run rustfmt
2016-11-08 11:01:51 -08:00
Kevin Liu
144fb35dba
Canonicalize non-symlink paths
2016-11-08 10:53:54 -08:00
Kevin Liu
f987ff53cc
Fix not rewinding file before re-reading it
2016-11-08 10:52:12 -08:00
Kevin Liu
79079dbff9
Update README to reflect per-user graveyards
2016-11-04 13:46:32 -07:00
Kevin Liu
34f4348806
Store human-readable deletion time in the record
2016-11-04 13:21:25 -07:00
Kevin Liu
43711e6fa1
Use a different graveyard per user by default
...
This also obviates the need for umask/permissions juju.
2016-11-04 13:19:07 -07:00
Kevin Liu
208ca3db68
Fix erroneous change to bury
2016-11-04 10:38:30 -07:00
Kevin Liu
98f5008728
Refactor to get rid of all unwraps
2016-11-04 10:23:01 -07:00
Kevin Liu
33299946aa
Make prompt_yes more generic
2016-11-04 08:42:22 -07:00
Kevin Liu
132eebd4d9
Fix panic with -u on missing record
2016-11-04 08:42:11 -07:00
Kevin Liu
f949d8d91d
Factor out seance to use impl traits
2016-10-31 05:28:25 -07:00
Kevin Liu
81b787b1df
Indicate "n" is default when prompted
2016-10-30 11:12:37 -07:00
Kevin Liu
ad2b4ea8aa
Clean up redundant muts and references
2016-10-30 11:03:47 -07:00
Kevin Liu
8349842d8a
Fix filter logic (!= to ==)
2016-10-30 10:40:03 -07:00
Kevin Liu
f8fcab8e3b
Bump version
2016-10-30 10:33:21 -07:00
Kevin Liu
e2c005b586
Fix and improve -u behavior with many missing files
2016-10-30 10:33:21 -07:00
Kevin Liu
952d25f794
Note that graveyard is only a default in usage
2016-10-30 10:33:21 -07:00
Kevin Liu
6f6ac66965
Factor out redundant file opens
2016-10-30 10:33:21 -07:00
Kevin Liu
ccdd3d0c00
Return instead of panic on writeln
2016-10-30 10:33:21 -07:00
Kevin Liu
e6ba6a5f3b
Merge pull request #7 from adelarsq/patch-1
...
Corrected spelling
2016-10-26 07:34:24 -07:00
Adelar da Silva Queiróz
aa0504309d
Corrected spelling
2016-10-26 12:09:44 -02:00
Kevin Liu
6bd952a13a
Add link to notes section at top
2016-10-26 03:50:16 -07:00
Kevin Liu
4c6945dc38
Update readme to reflect -u change
2016-10-26 03:31:34 -07:00
Kevin Liu
b660a0f1bd
Bump version
2016-10-26 03:27:23 -07:00
Kevin Liu
f012693d5e
Rename --resurrect to --unbury (and -r to -u)
2016-10-25 16:59:41 -07:00
Kevin Liu
c2c6a6a826
Less emoji
2016-10-25 03:41:06 -07:00