summaryrefslogtreecommitdiffhomepage
path: root/libs/core
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-26 00:53:28 +0000
committerSteven Barth <steven@midlink.org>2008-08-26 00:53:28 +0000
commit0c5dc7bc77a4fd7d7f0d965e3185e2df4c608f05 (patch)
treeb6a3a5fd860f43a171ebdb4446974489f4dbbb0b /libs/core
parent8e6d1e682afee81fb4199ad494195c23e4381af5 (diff)
libs/core: Reworked some basic libraries to not use package.seeall
libs/json: Implemented own JSON-Decoder (Encoder will follow) modules/rpc: Preliminary implemented RPC-Exports for luci.fs, luci.sys and luci.model.uci
Diffstat (limited to 'libs/core')
-rw-r--r--libs/core/luasrc/fs.lua8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/core/luasrc/fs.lua b/libs/core/luasrc/fs.lua
index e089d55dd..56108db95 100644
--- a/libs/core/luasrc/fs.lua
+++ b/libs/core/luasrc/fs.lua
@@ -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