(encoding)
| 159 | } |
| 160 | |
| 161 | function assertEncoding(encoding) { |
| 162 | if (encoding && !Buffer.isEncoding(encoding)) { |
| 163 | const reason = 'is invalid encoding'; |
| 164 | throw new ERR_INVALID_ARG_VALUE('encoding', encoding, reason); |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | class Dirent { |
| 169 | constructor(name, type, path) { |
no outgoing calls
no test coverage detected
searching dependent graphs…