MCPcopy Index your code
hub / github.com/devspace-sh/devspace / formatURL

Function formatURL

ui/src/lib/utils.tsx:48–50  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

46};
47
48export function formatURL(url: string) {
49 return url.replace(new RegExp('/+$', 'g'), '');
50}
51
52export function getHashParams() {
53 const hashParams = {};

Callers 4

CustomNavLinkFunction · 0.90
LogsLinkTabSelectorFunction · 0.90
CommandsLinkTabSelectorFunction · 0.90
StackLinkTabSelectorFunction · 0.90

Calls 1

replaceMethod · 0.45

Tested by

no test coverage detected