MCPcopy Create free account
hub / github.com/alpha0010/react-native-file-access / writeFile

Function writeFile

src/index.ts:327–329  ·  view source on GitHub ↗

* Write content to a file. * * Default encoding of `data` is assumed utf8.

(path: string, data: string, encoding: Encoding = 'utf8')

Source from the content-addressed store, hash-verified

325 * Default encoding of `data` is assumed utf8.
326 */
327 writeFile(path: string, data: string, encoding: Encoding = 'utf8') {
328 return FileAccessNative.writeFile(path, data, encoding);
329 },
330};
331
332/**

Callers

nothing calls this directly

Calls 1

writeFileMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…