Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ read
Method
read
lib/internal/fs/dir.js:110–112 ·
view source on GitHub ↗
(callback)
Source
from the content-addressed store, hash-verified
108
}
109
110
read(callback) {
111
return
arguments.length === 0 ? this.#readPromisified() : this.#readImpl(true, callback);
112
}
113
114
#readImpl(maybeSync, callback) {
115
if
(this.#closed === true) {
Callers
15
Socket
Function · 0.45
afterConnect
Function · 0.45
readFileAfterStat
Function · 0.45
read
Function · 0.45
readSync
Function · 0.45
read
Function · 0.45
constructor
Method · 0.45
onStreamRead
Function · 0.45
packageResolve
Function · 0.45
_readPackage
Function · 0.45
tryPackageMapResolveCJS
Function · 0.45
initRead
Function · 0.45
Calls
1
#readImpl
Method · 0.95
Tested by
11
test_happy_path
Method · 0.36
_test_content
Method · 0.36
assert_expected
Method · 0.36
testWriteGCMoleResults
Method · 0.36
testArgs
Method · 0.36
test_schedule_log
Function · 0.36
read_file
Function · 0.36
test_write_artifact_encoded
Method · 0.36
test_analyze_crash
Method · 0.36
test_fallback_crash_state
Method · 0.36
test_three_fuzzers
Method · 0.36