MCPcopy Create free account
hub / github.com/github/awesome-copilot / encodePathLikeValue

Function encodePathLikeValue

eng/external-plugin-pr-quality-gates.mjs:13–18  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

11}
12
13function encodePathLikeValue(value) {
14 return String(value)
15 .split("/")
16 .map((segment) => encodeURIComponent(segment))
17 .join("/");
18}
19
20export function buildSourceTreeUrl(plugin) {
21 const sourceRepo = plugin?.source?.repo;

Callers 1

buildSourceTreeUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected