MCPcopy Index your code
hub / github.com/nodejs/node / open

Method open

lib/internal/vfs/provider.js:65–67  ·  view source on GitHub ↗

* Opens a file and returns a file handle. * @param {string} path The file path (relative to provider root) * @param {string} flags The open flags ('r', 'r+', 'w', 'w+', 'a', 'a+') * @param {number} [mode] The file mode (for creating files) * @returns {Promise }

(path, flags, mode)

Source from the content-addressed store, hash-verified

63 * @returns {Promise<VirtualFileHandle>}
64 */
65 async open(path, flags, mode) {
66 throw new ERR_METHOD_NOT_IMPLEMENTED('open');
67 }
68
69 /**
70 * Opens a file synchronously and returns a file handle.

Callers 3

readFileMethod · 0.95
writeFileMethod · 0.95
appendFileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected