MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / getUserAgentString

Function getUserAgentString

out/cli.cjs:75588–75595  ·  view source on GitHub ↗
(telemetryInfo)

Source from the content-addressed store, hash-verified

75586 map.set("OS", `(${os3.arch()}-${os3.type()}-${os3.release()})`);
75587}
75588
75589// node_modules/@azure/core-rest-pipeline/dist/esm/constants.js
75590var SDK_VERSION = "1.15.2";
75591var DEFAULT_RETRY_POLICY_COUNT = 3;
75592
75593// node_modules/@azure/core-rest-pipeline/dist/esm/util/userAgent.js
75594function getUserAgentString(telemetryInfo) {
75595 const parts = [];
75596 for (const [key, value] of telemetryInfo) {
75597 const token = value ? `${key}/${value}` : key;
75598 parts.push(token);

Callers 1

getUserAgentValueFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected