MCPcopy
hub / github.com/django/django / path

Method path

django/core/files/storage/memory.py:255–256  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

253 return self._relative_path(name).replace("\\", "/")
254
255 def path(self, name):
256 return safe_join(self.location, name)
257
258 def delete(self, name):
259 path, filename = os.path.split(name)

Callers 2

_relative_pathMethod · 0.95
_resolveMethod · 0.95

Calls 1

safe_joinFunction · 0.90

Tested by

no test coverage detected