Create a new empty Zipper object and fill it with the specified files.
Create a new empty Zipper object and fill it with the specified files.
This function is a convenience method; you can always create an empty
Zipper and fill it yourself.
the list of (File, pathname) tuples to be added. In
each tuple, the File element is the resource to be read
and added; the pathname is the path to use in the zip
or jar file.
A Success with the filled Zipper, or a Failure if one or
more of the paths could not be added.
Create a new empty Zipper object and fill it with the specified files.
Create a new empty Zipper object and fill it with the specified files.
This function is a convenience method; you can always create an empty
Zipper and fill it yourself.
the list of File to add to the Zipper. The
existence of these files isn't verified until the zip
or jar file is written.
whether or not to flatten the paths.
A Success with the filled Zipper, or a Failure if one or
more of the paths could not be added.
Create a new empty Zipper object and fill it with the specified files.
Create a new empty Zipper object and fill it with the specified files.
This function is a convenience method; you can always create an empty
Zipper and fill it yourself.
the list of path names to add to the Zipper. The
existence of these files isn't verified until the zip
or jar file is written.
whether or not to flatten the paths.
A Success with the filled Zipper, or a Failure if one or
more of the paths could not be added.
Create a new, empty Zipper.
Create a new, empty Zipper.
the new Zipper object.
Companion object to the
Zipperclass. You can only instantiateZipperobjects via this companion.