Add the MatterLock strategy.

This commit is contained in:
zicla
2019-04-24 20:48:59 +08:00
parent daa5847859
commit d0fb55318f
5 changed files with 99 additions and 63 deletions

View File

@ -3,8 +3,15 @@ package rest
import "tank/rest/util"
const (
//根目录的uuid
MATTER_ROOT = "root"
//cache文件夹名称
MATTER_CACHE = "cache"
//matter名称最大长度
MATTER_NAME_MAX_LENGTH = 200
//matter文件夹最大深度
MATTER_NAME_MAX_DEPTH = 32
)
/**