diff options
| -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"}) |
