MCPcopy Create free account
hub / github.com/ceph/ceph / update

Method update

src/pybind/ceph_daemon.py:107–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

105 return self.DEFAULT_SIZE
106
107 def update(self) -> None:
108 rows, cols = self._gettermsize()
109 if not self.changed:
110 self.changed = (self.rows, self.cols) != (rows, cols)
111 self.rows, self.cols = rows, cols
112
113 def reset_changed(self) -> None:
114 self.changed = False

Callers 4

json_commandFunction · 0.45
_handle_sigwinchMethod · 0.45
parse_region_mapFunction · 0.45
bucket_locationFunction · 0.45

Calls 1

_gettermsizeMethod · 0.95

Tested by

no test coverage detected