MCPcopy Create free account
hub / github.com/donutloop/mux / cleanPath

Function cleanPath

router.go:129–144  ·  view source on GitHub ↗

cleanPath returns the canonical path for p, eliminating . and .. elements. Borrowed from the net/http package. net/http/server.go

(p string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

ServeHTTPMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected