Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/loopbackio/loopback-next
/ readSourceFile
Function
readSourceFile
packages/cli/test/fixtures/relation/index.js:296–298 ·
view source on GitHub ↗
(relativePath)
Source
from the content-addressed store, hash-verified
294
];
295
296
function
readSourceFile(relativePath) {
297
return
fs.readFileSync(require.resolve(relativePath), {encoding:
'utf-8'
});
298
}
Callers
1
index.js
File · 0.85
Calls
1
resolve
Method · 0.80
Tested by
no test coverage detected