MCPcopy Index your code
hub / github.com/fastapi/fastapi / _get_resolved_directory

Method _get_resolved_directory

fastapi/routing.py:1886–1888  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1884 )
1885
1886 def _get_resolved_directory(self) -> str:
1887 assert self.directory is not None
1888 return _get_resolved_absolute_path(self.directory)
1889
1890 def get_path(self, scope: Scope) -> str:
1891 path = _get_fastapi_scope(scope).get(_FASTAPI_FRONTEND_PATH_KEY, "")

Callers 2

_check_fallback_fileMethod · 0.95
_fallback_responseMethod · 0.95

Calls 1

Tested by

no test coverage detected