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

Function createEROFS

lib/internal/vfs/errors.js:125–133  ·  view source on GitHub ↗

* Creates an EROFS error for read-only file system. * @param {string} syscall The system call name * @param {string} path The path * @returns {Error}

(syscall, path)

Source from the content-addressed store, hash-verified

123 * @returns {Error}
124 */
125function createEROFS(syscall, path) {
126 const err = new UVException({
127 errno: UV_EROFS,
128 syscall,
129 path,
130 });
131 ErrorCaptureStackTrace(err, createEROFS);
132 return err;
133}
134
135/**
136 * Creates an EINVAL error for invalid argument.

Callers 15

mkdirMethod · 0.85
mkdirSyncMethod · 0.85
rmdirMethod · 0.85
rmdirSyncMethod · 0.85
unlinkMethod · 0.85
unlinkSyncMethod · 0.85
renameMethod · 0.85
renameSyncMethod · 0.85
writeFileMethod · 0.85
writeFileSyncMethod · 0.85
appendFileMethod · 0.85
appendFileSyncMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…