MCPcopy Create free account
hub / github.com/comaps/comaps / is_file_uri

Function is_file_uri

tools/python/maps_generator/utils/file.py:31–32  ·  view source on GitHub ↗
(url: AnyStr)

Source from the content-addressed store, hash-verified

29
30
31def is_file_uri(url: AnyStr) -> bool:
32 return urlparse(url).scheme == "file"
33
34def file_uri_to_path(url : AnyStr) -> AnyStr:
35 file_uri = urlparse(url)

Callers 1

download_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected