i am using okio on
mingwX64
and it seems to work without issues via poweshell and cmd
but when executed in gitbash things seem to fall apart
i am getting
Uncaught Kotlin exception: okio.IOException: Permission denied
when calling
filesystem.delete(command.reportFile.toPath())
and
Uncaught Kotlin exception: okio.FileNotFoundException: No such file or directory
when calling
val write: BufferedSink = fileSystem.appendingSink(command.reportFile.toPath()).buffer()
command.reportFile
is
/c/Users/nikky/dev/kotlin-cli-starter/git-standup-report.txt
the file exists and is writable:
ls -la /c/Users/nikky/dev/kotlin-cli-starter/git-standup-report.txt
-rw-r--r-- 1 nikky 197121 407 Jun 4 10:41 /c/Users/nikky/dev/kotlin-cli-starter/git-standup-report.txt