MCPcopy Index your code
hub / github.com/github/copilot-sdk / fixBrandRef

Function fixBrandRef

java/scripts/codegen/java.ts:83–87  ·  view source on GitHub ↗
(ref: string)

Source from the content-addressed store, hash-verified

81}
82
83function fixBrandRef(ref: string): string {
84 const lastSlash = ref.lastIndexOf("/");
85 if (lastSlash === -1) return ref;
86 return `${ref.slice(0, lastSlash + 1)}${fixBrandCasing(ref.slice(lastSlash + 1))}`;
87}
88
89function stableStringify(value: unknown): string {
90 if (Array.isArray(value)) {

Callers 1

normalizeBrandCasingNodeFunction · 0.70

Calls 1

fixBrandCasingFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…