MCPcopy Create free account
hub / github.com/microsoft/vscode-cpptools / generateLocalizedHtmlFiles

Function generateLocalizedHtmlFiles

Extension/gulpfile.js:351–362  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

349};
350
351const generateLocalizedHtmlFiles = () => {
352 return es.through(function (file) {
353 let relativePath = removePathPrefix(file.path, file.cwd);
354 languages.map((language) => {
355 let newContent = generateLocalizedHtmlFilesImpl(file, relativePath, language, false);
356 this.queue(new vinyl({
357 path: path.join("html", language.id, relativePath),
358 contents: Buffer.from(newContent, 'utf8')
359 }));
360 });
361 });
362};
363
364const generateLocalizedWalkthroughHtmlFiles = () => {
365 return es.through(function (file) {

Callers 1

generateHtmlLocFunction · 0.85

Calls 3

removePathPrefixFunction · 0.85
fromMethod · 0.80

Tested by

no test coverage detected