🐳chore(工具): 调整目录名

develop
xiaojin 5 years ago
parent f782003d1e
commit aecd76dcd7

@ -15,8 +15,8 @@ globals = {
"singleton",
"instanceof",
"mixin",
"handler",
"fmt",
"Handler",
"Fmt",
"Property",
"Enum",
"Option",

@ -3,7 +3,31 @@ require "oop.mixin"
require "oop.property"
require "oop.enum"
fmt = require "oop.fstrings"
handler = require "oop.handler"
Fmt = require "oop.fstrings"
Handler = require "oop.handler"
Option = require "oop.option"
Try = require "oop.try"
Try = require "oop.try"
-- local function upvalue_find(func, key)
-- assert("string" == type(key))
-- local index = 1
-- local iKey
-- local iValue
-- repeat
-- iKey, iValue = debug.getupvalue(func, index)
-- if iKey == key then
-- return iValue, index
-- end
-- index = index + 1
-- until nil == iKey
-- end
-- local function upvalue_replace(func, key, value)
-- local _, index = upvalue_find(func, key)
-- if index then
-- debug.setupvalue(func, index, value)
-- return true
-- else
-- return false
-- end
-- end

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save