summaryrefslogtreecommitdiff
path: root/xmake/core/project/cache.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2019-08-26 23:18:07 +0800
committerruki <[email protected]>2019-08-26 13:48:47 +0800
commit55e6f6992aa23a1ae1f5529aeb83021e40e4198b (patch)
treeb3f60b3ca8d923e31c93971b488150b8f090987b /xmake/core/project/cache.lua
parent28120ca72e81e66a029fd33cd19a0a8e81ef82a0 (diff)
improve config and global directory
Diffstat (limited to 'xmake/core/project/cache.lua')
-rw-r--r--xmake/core/project/cache.lua6
1 files changed, 0 insertions, 6 deletions
diff --git a/xmake/core/project/cache.lua b/xmake/core/project/cache.lua
index 4275fbeb8..9d72eaa3d 100644
--- a/xmake/core/project/cache.lua
+++ b/xmake/core/project/cache.lua
@@ -88,22 +88,16 @@ end
-- get the value
function cache:get(name)
-
- -- get it
return self._CACHEDATA[name]
end
-- set the value
function cache:set(name, value)
-
- -- set it
self._CACHEDATA[name] = value
end
-- clear all
function cache:clear()
-
- -- clear it
self._CACHEDATA = {__version = xmake._VERSION_SHORT}
end