aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use my new “proxit” crateThomas Voss 2023-08-011-4/+6
|
* 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-291-0/+255