MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / trimTrailingSlash

Function trimTrailingSlash

scripts/mars-api.mjs:112–114  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

110}
111
112function trimTrailingSlash(value) {
113 return value.replace(/\/+$/, "");
114}
115
116/**
117 * Build a fully-qualified MARS URL. Any path prefix on `baseUrl` is preserved

Callers 1

buildMarsUrlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected