Source code for galaxy.tool_util.locations.file

from . import ToolLocationResolver


[docs]class HttpToolResolver(ToolLocationResolver): scheme = "file"
[docs] def get_tool_source_path(self, uri_like: str) -> str: assert uri_like.startswith("file://") return uri_like[len("file://") :]