Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
620
def
file_url(path):
621
""
"Convert a Path to a file:// URL."
""
622
return
Path(path).resolve().as_uri()
623
624
625
def
render_flamegraph_links(output_dir):
Callers
2
render_flamegraph_links
Function · 0.85
main
Function · 0.85
Calls
2
Path
Interface · 0.50
resolve
Method · 0.45
Tested by
no test coverage detected