MCPcopy Create free account
hub / github.com/EasyIME/PIME / _stat

Method _stat

python/python3/tornado/web.py:2875–2879  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2873 return hasher.hexdigest()
2874
2875 def _stat(self) -> os.stat_result:
2876 assert self.absolute_path is not None
2877 if not hasattr(self, "_stat_result"):
2878 self._stat_result = os.stat(self.absolute_path)
2879 return self._stat_result
2880
2881 def get_content_size(self) -> int:
2882 """Retrieve the total size of the resource at the given path.

Callers 2

get_content_sizeMethod · 0.95
get_modified_timeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected