MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / renameImageForSave

Function renameImageForSave

functions/ocr/app/index.js:100–102  ·  view source on GitHub ↗
(filename, lang)

Source from the content-addressed store, hash-verified

98 * @returns {string} The new filename.
99 */
100const renameImageForSave = (filename, lang) => {
101 return `${filename}_to_${lang}.txt`;
102};
103
104// [START functions_ocr_process]
105/**

Callers 1

index.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected