Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ lazyLoadFs
Function
lazyLoadFs
lib/internal/fs/utils.js:157–159 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
155
156
let
fs;
157
function
lazyLoadFs() {
158
return
fs ??= require(
'fs'
);
159
}
160
161
function
assertEncoding(encoding) {
162
if
(encoding && !Buffer.isEncoding(encoding)) {
Callers
3
getDirents
Function · 0.85
getDirent
Function · 0.85
utils.js
File · 0.85
Calls
1
require
Function · 0.50
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…