From 22dca65a708eb7bb98ca2263665da56eecc48715 Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 19 Dec 2020 20:41:24 +0800 Subject: add new stub cache modules --- xmake/core/cache/memcache.lua | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 xmake/core/cache/memcache.lua (limited to 'xmake/core/cache/memcache.lua') 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 -- cgit v1.3.1