MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / get_open_files

Method get_open_files

display.py:189–197  ·  view source on GitHub ↗

Get the number of open FD files on the system.

(self)

Source from the content-addressed store, hash-verified

187 self.update_shared_data_thread.start()
188
189 self.update_vuln_count_thread = threading.Thread(target=self.schedule_update_vuln_count)
190 self.update_vuln_count_thread.daemon = True
191 self.update_vuln_count_thread.start()
192
193 self.scale_factor_x = self.shared_data.scale_factor_x
194 self.scale_factor_y = self.shared_data.scale_factor_y
195
196 # Wide display detection (e.g. 2.7" at 176x264 vs reference 122x250)
197 self.is_wide = self.scale_factor_x > 1.2
198 # y_stretch is no longer needed — scale_factor_y handles vertical spacing
199 self.y_stretch = 1.0
200

Callers 1

update_shared_dataMethod · 0.95

Calls 2

debugMethod · 0.80
errorMethod · 0.80

Tested by

no test coverage detected