MCPcopy Create free account
hub / github.com/CoderLine/alphaTab / removeLeadingSlash

Function removeLeadingSlash

packages/playground/vite.plugin.server.ts:17–19  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

15}
16
17function removeLeadingSlash(s: string): string {
18 return s[0] === '/' ? s.slice(1) : s;
19}
20
21function readBody(req: Connect.IncomingMessage, length: number): Promise<string> {
22 return new Promise((resolve, reject) => {

Callers 1

handleAcceptFunction · 0.70

Calls 1

sliceMethod · 0.45

Tested by

no test coverage detected