Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
63
const
trimTrailingSlash = (value: string): string => value.replace(/\/+$/,
''
);
64
const
nonEmptyStringSchema = z.string().min(1);
Callers
2
fetchKiloGatewayModels
Function · 0.70
fetchKiloOrganizations
Function · 0.70
Calls
1
replace
Method · 0.65
Tested by
no test coverage detected