MCPcopy Index your code
hub / github.com/nodejs/node / #checkClosed

Method #checkClosed

lib/internal/vfs/file_handle.js:365–369  ·  view source on GitHub ↗
(syscall)

Source from the content-addressed store, hash-verified

363 #getStats;
364
365 #checkClosed(syscall) {
366 if (this.closed) {
367 throw createEBADF(syscall);
368 }
369 }
370
371 /**
372 * @param {string} path The file path

Callers 7

readSyncMethod · 0.95
writeSyncMethod · 0.95
readFileSyncMethod · 0.95
readFileMethod · 0.95
writeFileSyncMethod · 0.95
statSyncMethod · 0.95
truncateSyncMethod · 0.95

Calls 1

createEBADFFunction · 0.85

Tested by

no test coverage detected