compressFile
Description:
public static Result<
bool,
Error>
compressFile (
Path src,
Path dst)
Compresses a file into Gzip binary file.
Parameters:
| src |
source file path.
|
| dst |
destination file path.
|
Returns:
|
Result.ok(true) on success, or Result.error(GzipError) on failure.
|