(dirName: string)
| 112 | } |
| 113 | |
| 114 | cd(dirName: string) { |
| 115 | if (!this.check(dirName)) throw new Error(ERROR_MSG_01); |
| 116 | this.cwd = normalizedJoin(this.cwd, dirName); |
| 117 | } |
| 118 | |
| 119 | async list(page: 0, pageSize = 40, searchFileName?: string) { |
| 120 | if (pageSize > 100 || pageSize <= 0 || page < 0) throw new Error("Beyond the value limit"); |
no test coverage detected