This module provides support for creating zip archives within Ludwig.

Table of Contents

Module Members



Create zip archive from filepaths. In order to deterministically generate ZIP files, we do not take modification timestamps of files into account.


bytes: zip{filePaths: ["js/"]} # will add all files in the js/ directory
bytes: zip{filePaths: ["js/slackbot.js", ""], recursive:False}

Type Signature

 fun { filePaths: List<String>,
       recursive: Optional<Bool> } -> Bytes
Argument: filePaths

The paths of the files to put into the archive.

Type: List<String>

Argument: recursive

Recurse into directories and add files. The default is True.

Type: Optional<Bool>


The contents of the zip archive file.

Type: Bytes