From: Tobias Ulmer Date: Tue, 19 Nov 2013 18:24:25 +0000 (+0100) Subject: Remove e2lib.cat(), which was yet another way to do simple IO... X-Git-Tag: e2factory-2.3.15rc1~368 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=2ef10a57f17f0b3fb630e0b7dc6e82e25ca038dc;p=e2factory.git Remove e2lib.cat(), which was yet another way to do simple IO... Signed-off-by: Tobias Ulmer --- diff --git a/generic/e2lib.lua b/generic/e2lib.lua index b6b07f5..acd7e0a 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -2162,16 +2162,6 @@ function e2lib.gzip(argv) return e2lib.call_tool_argv("gzip", argv) end ---- call the catcommand --- @param argv table: argument vector --- @return bool --- @return an error object on failure -function e2lib.cat(argv) - assert(type(argv) == "table") - - return e2lib.call_tool_argv("cat", argv) -end - --- check if dir is a directory -- @param dir string: path -- @return bool