createArchive

fun <T> Path.createArchive(block: (FileSystem) -> T): T

Creates a new archive file at the specified path, returning a FileSystem that represents the internal structure of the archive to which files can be read, written, and deleted.