MCPcopy Index your code
hub / github.com/darkreader/darkreader / readFile

Function readFile

tasks/utils.js:115–117  ·  view source on GitHub ↗
(src, encoding = 'utf8')

Source from the content-addressed store, hash-verified

113 * @returns {Promise<string>}
114 */
115export async function readFile(src, encoding = 'utf8') {
116 return await fs.readFile(src, encoding);
117}
118
119/**
120 * @param {string} src

Callers 14

translateEnMessageFunction · 0.90
translateNewEnMessagesFunction · 0.90
bundleCSSEntryFunction · 0.90
processAPIBuildModuleFunction · 0.90
processExtensionPlatformFunction · 0.90
localeFileToJsonFunction · 0.90
readJSONFunction · 0.85
csp.tests.tsFile · 0.85
readConfigFunction · 0.85
firefoxFetchAllReleasesFunction · 0.85
firefoxFetchAllMetadataFunction · 0.85
patchPackageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected