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

Function transformCLI

dlp/deIdentifyWithRedaction.js:94–101  ·  view source on GitHub ↗
(infoTypes)

Source from the content-addressed store, hash-verified

92});
93
94function transformCLI(infoTypes) {
95 infoTypes = infoTypes
96 ? infoTypes.split(',').map(type => {
97 return {name: type};
98 })
99 : undefined;
100 return infoTypes;
101}

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected