perf: 抽取api

This commit is contained in:
xiaojunnuo
2021-01-06 23:29:10 +08:00
parent f07ce6f47d
commit 5312c11472
41 changed files with 5001 additions and 119 deletions
+33
View File
@@ -0,0 +1,33 @@
export class Store {
set (key, value) {
}
get (key) {
}
buildKey (...keyItem) {
}
linkExists (linkPath) {
}
link (targetPath, linkPath) {
}
unlink (linkPath) {
}
/**
* 全路径
* @param key
*/
getActualKey (key) {
// return 前缀+key
}
}