* @description 检查路径格式是否正确
(path: string)
| 35 | * @description 检查路径格式是否正确 |
| 36 | */ |
| 37 | static checkPath(path: string): boolean { |
| 38 | return path.startsWith('/') || path.includes('\\') |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * @description 返回文件名 |
no outgoing calls
no test coverage detected