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

Function getsize

web/pgadmin/misc/file_manager/__init__.py:90–92  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

88
89# return size of file
90def getsize(path):
91 st = os.stat(path)
92 return st.st_size
93
94
95def getdrivesize(path):

Callers 1

get_files_in_pathMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected