(filename: string, encodingOrOptions?: any)
| 350 | |
| 351 | // Android only |
| 352 | readFileRes(filename: string, encodingOrOptions?: any): Promise<string> { |
| 353 | if (!RNFSManager.readFileRes) { |
| 354 | throw new Error('readFileRes is not available on this platform'); |
| 355 | } |
| 356 | return readFileGeneric(filename, encodingOrOptions, RNFSManager.readFileRes); |
| 357 | }, |
| 358 | |
| 359 | hash(filepath: string, algorithm: string): Promise<string> { |
| 360 | return RNFSManager.hash(normalizeFilePath(filepath), algorithm); |
nothing calls this directly
no test coverage detected