AccessDeniedError
means you don't have permission to write to that folder. This is not coming from better-file but from the JDK std lib itself (in the case of I/O from the OS itself)
.store
to specify the compression method for an individual ZIP file entry, and set it to STORED.
cannonicalFile
is expressed like this:
def canonicalFile: File =
toJava.getCanonicalFile.toScala