MCPcopy Create free account
hub / github.com/itinance/react-native-fs / normalizeFilePath

Function normalizeFilePath

FS.common.js:30–30  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

28};
29
30var normalizeFilePath = (path: string) => (path.startsWith('file://') ? path.slice(7) : path);
31
32type MkdirOptions = {
33 NSURLIsExcludedFromBackupKey?: boolean; // iOS only

Callers 15

readFileGenericFunction · 0.85
readDirGenericFunction · 0.85
mkdirFunction · 0.85
moveFileFunction · 0.85
copyFileFunction · 0.85
unlinkFunction · 0.85
existsFunction · 0.85
readdirFunction · 0.85
statFunction · 0.85
readFunction · 0.85
hashFunction · 0.85
copyFileAssetsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected