MCPcopy Index your code
hub / github.com/github/docs / getDirents

Function getDirents

lib/get-data.js:56–59  ·  view source on GitHub ↗
(root, relPath)

Source from the content-addressed store, hash-verified

54}
55
56function getDirents(root, relPath) {
57 const filePath = root ? path.join(root, relPath) : relPath
58 return fs.readdirSync(filePath, { withFileTypes: true })
59}
60
61export const getUIDataMerged = memoize((langCode) => {
62 const uiEnglish = getUIData('en')

Callers 1

getDeepDataByDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected