addFile
Description:
public static Result<
bool,
Error>
addFile (
Path archive,
Path file)
Adds one file to an existing archive.
Parameters:
| archive |
archive path.
|
| file |
file to add.
|
Returns:
|
Result.ok(true) on success, or Result.error(ZipError) on failure.
|