aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Swap flags.nobackup for flags.backupThomas Voss 2023-08-121-5/+17
|
* Remove the cache directory after successful operationThomas Voss 2023-08-121-2/+7
|
* Add the -n optionThomas Voss 2023-08-121-11/+15
|
* Backup the files being renamedThomas Voss 2023-08-121-0/+31
|
* Update cerm to v1.1.1Thomas Voss 2023-08-123-29/+11
|
* Add a helper ‘disp()’ functionThomas Voss 2023-08-071-3/+7
|
* Take greater advantage of itertoolsThomas Voss 2023-08-071-6/+8
|
* Add an ‘is_terminal’ predicateThomas Voss 2023-08-071-2/+6
|
* Use block comments like a C-chadThomas Voss 2023-08-061-3/+3
|
* Fix comment formattingThomas Voss 2023-08-061-1/+1
|
* Get -0 and -i to play nice with each otherThomas Voss 2023-08-061-31/+61
|
* Fix retarded rustfmt shitThomas Voss 2023-08-061-2/+2
|
* Implement the -i flagThomas Voss 2023-08-061-48/+112
|
* Add missing flag to usage stringThomas Voss 2023-08-061-1/+1
|
* Move args parsing to Flags::parseThomas Voss 2023-08-061-25/+28
|
* Improve the -d flagThomas Voss 2023-08-061-9/+12
| | | | | | | Now when performing a dry run, you are shown the direct move from src to dst. This is a lot more helpful since the end user doesn’t really care about whatever temporary folder we store things in; the user just wants to make sure the command he’s about to execute will do what he expects.
* Make the -e flag work as intendedThomas Voss 2023-08-063-8/+35
|
* Formart the codebaseThomas Voss 2023-08-061-20/+19
|
* Remove the error module and use cermThomas Voss 2023-08-024-119/+74
| | | | Fuck proxit, all my homies hate proxit.
* Use my new “proxit” crateThomas Voss 2023-08-014-36/+14
|
* Move some code out to move_path()Thomas Voss 2023-07-291-15/+14
|
* Support -v, and make -d imply -vThomas Voss 2023-07-291-5/+12
|
* Build a 3-tuple intead of mutating a 2-tupleThomas Voss 2023-07-291-19/+15
|
* Copy+Delete because filesystemsThomas Voss 2023-07-291-2/+13
| | | | | | | | | | | | Turns out that ‘fs::rename()’ calls ‘rename(2)’ under the hood. This is a problem because the temporary directory we use is typically located on a different filesystem than your home directory for example, and so this would fail. The shitty workaround here is to copy the files and then delete them. But it just keeps getting better! Turns out that despite the fact that ‘everything is a file’ on *NIX, we cannot just call ‘fs::copy()’ or ‘fs::remove_file()’ on directories; that would be too smart.
* Minor comment reformatThomas Voss 2023-07-291-2/+1
|
* Reorder imports, and remove unused onesThomas Voss 2023-07-291-2/+3
|
* Genesis commitThomas Voss 2023-07-297-0/+549