summaryrefslogtreecommitdiff
path: root/xmake/core/cache/memcache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-19 20:41:24 +0800
committerruki <[email protected]>2020-12-19 20:41:24 +0800
commit22dca65a708eb7bb98ca2263665da56eecc48715 (patch)
treeb374d4c84d9ec8524d2661053e111b7303d4e9c3 /xmake/core/cache/memcache.lua
parent764ccc35c4196d11590b7e76f500448277304b5e (diff)
add new stub cache modules
Diffstat (limited to 'xmake/core/cache/memcache.lua')
-rw-r--r--xmake/core/cache/memcache.lua35
1 files changed, 35 insertions, 0 deletions
diff --git a/xmake/core/cache/memcache.lua b/xmake/core/cache/memcache.lua
new file mode 100644
index 000000000..693c5b52d
--- /dev/null
+++ b/xmake/core/cache/memcache.lua
@@ -0,0 +1,35 @@
+--!A cross-platform build utility based on Lua
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+-- Copyright (C) 2015-present, TBOOX Open Source Group.
+--
+-- @author ruki
+-- @file memcache.lua
+--
+
+-- define module: memcache
+local memcache = memcache or {}
+
+-- load modules
+local table = require("base/table")
+
+-- new an instance
+function _instance.new(name)
+ local instance = table.inherit(_instance)
+ return instance
+end
+
+
+-- return module: memcache
+return memcache