MCPcopy Create free account
hub / github.com/Kilo-Org/cloud / trimTrailingSlash

Function trimTrailingSlash

apps/extension/src/shared/kilo-api-client.ts:61–61  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

59 supportsImages?: boolean;
60 variants: string[];
61}
62
63const trimTrailingSlash = (value: string): string => value.replace(/\/+$/, '');
64const nonEmptyStringSchema = z.string().min(1);

Callers 2

fetchKiloGatewayModelsFunction · 0.70
fetchKiloOrganizationsFunction · 0.70

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected