MCPcopy Create free account
hub / github.com/SolaWing/xcode-build-server / uri2filepath

Function uri2filepath

server.py:35–39  ·  view source on GitHub ↗
(uri)

Source from the content-addressed store, hash-verified

33
34
35def uri2filepath(uri):
36 result = urllib.parse.urlparse(uri)
37 if result.scheme != "file":
38 raise ValueError(uri)
39 return urllib.parse.unquote(result.path)
40
41
42def uri2realpath(uri):

Callers 3

uri2realpathFunction · 0.85
register_uriMethod · 0.85
build_initializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected