MCPcopy
hub / github.com/tornadoweb/tornado / _stat

Method _stat

tornado/web.py:3072–3076  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3070 return hasher.hexdigest()
3071
3072 def _stat(self) -> os.stat_result:
3073 assert self.absolute_path is not None
3074 if not hasattr(self, "_stat_result"):
3075 self._stat_result = os.stat(self.absolute_path)
3076 return self._stat_result
3077
3078 def get_content_size(self) -> int:
3079 """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