Closed BartMassey closed 1 year ago
No it won't. My bad. Instead it will refuse to touch the file, crashing with an error.
Currently bonk only creates file if they do not exist
That's fine, but in this case please don't describe it as a "touch alternative" in the README
. That description carries with it the expectation that bonk
will have the core function of touch
, namely updating the write time of a file.
If you
bonk
a file that has existing content, that content will be truncated bystd::fs::File::create()
.