MCPcopy Create free account
hub / github.com/vercel/vercel / file_url

Function file_url

packages/python-analysis/scripts/profile-wasm.py:620–622  ·  view source on GitHub ↗

Convert a Path to a file:// URL.

(path)

Source from the content-addressed store, hash-verified

618
619
620def file_url(path):
621 """Convert a Path to a file:// URL."""
622 return Path(path).resolve().as_uri()
623
624
625def render_flamegraph_links(output_dir):

Callers 2

render_flamegraph_linksFunction · 0.85
mainFunction · 0.85

Calls 2

PathInterface · 0.50
resolveMethod · 0.45

Tested by

no test coverage detected