summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/compress/lz4.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/compress/lz4.lua b/xmake/core/compress/lz4.lua
index 301541eb2..4c495dc26 100644
--- a/xmake/core/compress/lz4.lua
+++ b/xmake/core/compress/lz4.lua
@@ -72,7 +72,7 @@ function lz4.decompress(data, opt)
return bytes(result)
end
--- TODO use lz4file
+-- TODO use stream in core
-- compress file data
function lz4.compress_file(srcpath, dstpath, opt)
local data, errors = io.readfile(srcpath, {encoding = "binary"})
@@ -85,7 +85,7 @@ function lz4.compress_file(srcpath, dstpath, opt)
return false, errors or "compress failed"
end
--- TODO use lz4file
+-- TODO use stream in core
-- decompress file data
function lz4.decompress_file(srcpath, dstpath, opt)
local data, errors = io.readfile(srcpath, {encoding = "binary"})