MCPcopy
hub / github.com/scrapy/scrapy / path_to_url

Function path_to_url

tests/test_feedexport.py:47–48  ·  view source on GitHub ↗
(path: str | Path)

Source from the content-addressed store, hash-verified

45
46
47def path_to_url(path: str | Path) -> str:
48 return urljoin("file:", pathname2url(str(path)))
49
50
51def printf_escape(s: str) -> str:

Callers 6

run_and_exportMethod · 0.90
run_and_exportMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected