MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / __init__

Method __init__

web/pgadmin/misc/file_manager/__init__.py:499–505  ·  view source on GitHub ↗
(self, trans_id, ss='')

Source from the content-addressed store, hash-verified

497 }
498
499 def __init__(self, trans_id, ss=''):
500 self.trans_id = trans_id
501 self.dir = get_storage_directory()
502 self.shared_dir = get_storage_directory(shared_storage=ss)
503
504 if self.dir is not None and isinstance(self.dir, list):
505 self.dir = ""
506
507 @staticmethod
508 def get_closest_parent(storage_dir, last_dir):

Callers

nothing calls this directly

Calls 1

get_storage_directoryFunction · 0.90

Tested by

no test coverage detected