* 计算字典序的下一个前缀(用于精确的范围查询) * 例如:prefix = "PLUGIN/test/" -> end = "PLUGIN/test0"
(prefix: string)
| 434 | * 例如:prefix = "PLUGIN/test/" -> end = "PLUGIN/test0" |
| 435 | */ |
| 436 | private getNextPrefix(prefix: string): string { |
| 437 | const lastChar = prefix[prefix.length - 1] |
| 438 | const nextChar = String.fromCharCode(lastChar.charCodeAt(0) + 1) |
| 439 | return prefix.slice(0, -1) + nextChar |
| 440 | } |
| 441 | |
| 442 | /** |
| 443 | * 获取所有插件的数据统计(供内部调用) |
no outgoing calls
no test coverage detected