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

Function transformCLI

dlp/redactImage.js:89–96  ·  view source on GitHub ↗
(infoTypes)

Source from the content-addressed store, hash-verified

87});
88
89function transformCLI(infoTypes) {
90 infoTypes = infoTypes
91 ? infoTypes.split(',').map(type => {
92 return {name: type};
93 })
94 : undefined;
95 return infoTypes;
96}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected