MCPcopy
hub / github.com/scrapy/scrapy / _to_string

Function _to_string

scrapy/pipelines/files.py:57–58  ·  view source on GitHub ↗
(path: str | PathLike[str])

Source from the content-addressed store, hash-verified

55
56
57def _to_string(path: str | PathLike[str]) -> str:
58 return str(path) # convert a Path object to string
59
60
61def _md5sum(file: IO[bytes]) -> str:

Callers 3

__init__Method · 0.85
_get_filesystem_pathMethod · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected