MCPcopy Create free account
hub / github.com/bugy/script-server / get_absolute_path

Method get_absolute_path

src/web/server.py:518–520  ·  view source on GitHub ↗
(cls, root, path)

Source from the content-addressed store, hash-verified

516
517 @classmethod
518 def get_absolute_path(cls, root, path):
519 path = path.lstrip('/')
520 return super().get_absolute_path(root, path)
521
522 def is_admin_file(self, relative_path):
523 for admin_file in self.admin_files:

Callers 1

getMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected