diff options
| author | ruki <[email protected]> | 2022-05-08 23:42:34 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-08 23:42:34 +0800 |
| commit | 52528043960619f9a8d5490b56b5d1a3f8b70ca2 (patch) | |
| tree | 99e7e397060e1db73383645286de3a63b6bfb106 | |
| parent | 42ba6d2c3f3f13fc474e0f8a1c24ecd1240426ff (diff) | |
add todo
| -rw-r--r-- | xmake/core/compress/lz4.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/compress/lz4.lua b/xmake/core/compress/lz4.lua index 73ba85fba..301541eb2 100644 --- a/xmake/core/compress/lz4.lua +++ b/xmake/core/compress/lz4.lua @@ -72,6 +72,7 @@ function lz4.decompress(data, opt) return bytes(result) end +-- TODO use lz4file -- compress file data function lz4.compress_file(srcpath, dstpath, opt) local data, errors = io.readfile(srcpath, {encoding = "binary"}) @@ -84,6 +85,7 @@ function lz4.compress_file(srcpath, dstpath, opt) return false, errors or "compress failed" end +-- TODO use lz4file -- decompress file data function lz4.decompress_file(srcpath, dstpath, opt) local data, errors = io.readfile(srcpath, {encoding = "binary"}) |
