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

Function writeFile

tasks/utils.js:138–141  ·  view source on GitHub ↗
(dest, content, encoding = 'utf8')

Source from the content-addressed store, hash-verified

136 * @returns {Promise<void>}
137 */
138export async function writeFile(dest, content, encoding = 'utf8') {
139 await mkDirIfMissing(dest);
140 await fs.writeFile(dest, content, encoding);
141}
142
143/**
144 * @param {string} path

Callers 14

translateEnMessageFunction · 0.90
translateNewEnMessagesFunction · 0.90
writeFilesFunction · 0.90
processAPIBuildModuleFunction · 0.90
processExtensionPlatformFunction · 0.90
writeFilesFunction · 0.90
writeEntryFunction · 0.90
fixManifestFunction · 0.90
createHashesFunction · 0.90
firefoxFetchAllMetadataFunction · 0.85

Calls 1

mkDirIfMissingFunction · 0.85

Tested by

no test coverage detected