createFromDir
Description:
public static Result<
bool,
Error>
createFromDir (
Path archive,
Path dir)
Creates a zip archive from all entries under directory.
Parameters:
| archive |
destination archive path.
|
| dir |
source directory.
|
Returns:
|
Result.ok(true) on success, or Result.error(ZipError) on failure.
|