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

Function getUserAgentValue

out/cli.cjs:75599–75606  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

75597 const token = value ? `${key}/${value}` : key;
75598 parts.push(token);
75599 }
75600 return parts.join(" ");
75601}
75602function getUserAgentHeaderName() {
75603 return getHeaderName();
75604}
75605function getUserAgentValue(prefix) {
75606 const runtimeInfo = /* @__PURE__ */ new Map();
75607 runtimeInfo.set("core-rest-pipeline", SDK_VERSION);
75608 setPlatformSpecificData(runtimeInfo);
75609 const defaultAgent = getUserAgentString(runtimeInfo);

Callers 2

userAgentPolicyFunction · 0.85
tracingPolicyFunction · 0.85

Calls 3

setPlatformSpecificDataFunction · 0.85
getUserAgentStringFunction · 0.85
setMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…