libs/core: Reworked some basic libraries to not use package.seeall
[project/luci.git] / libs / core / luasrc / fs.lua
index e089d55dd04bfa1a508dd5b6cbfffdf0b6c2a1a6..56108db953194c958c7edc4bc02e6f7d22c9b8d5 100644 (file)
@@ -24,10 +24,12 @@ limitations under the License.
 
 ]]--
 
---- LuCI filesystem library.
-module("luci.fs", package.seeall)
+local posix = require "posix"
+local io    = require "io"
+local type  = type
 
-require("posix")
+--- LuCI filesystem library.
+module "luci.fs"
 
 --- Test for file access permission on given path.
 -- @class              function