summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-08 23:46:19 +0800
committerruki <[email protected]>2022-05-08 23:46:19 +0800
commitb3e3b7d6d7465abe006b15458701fbc720442b93 (patch)
tree26daa7ae01272a5e0be0a4f75b302f81eabaf2f1
parent52528043960619f9a8d5490b56b5d1a3f8b70ca2 (diff)
update todo
-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"})