kinta-lib / com.dailymotion.kinta.integration.zip / ZipIntegration / zip
zip
fun zip(input:File, output:File, baseDir:File? = null):Unit
Parameters
input - the directory to zip
output - the produced zip file
baseDir - the base used to create the hierarchy inside the zip. This is usually input.parentFile to
have only one root entry and avoid clutter when unzipping.