MCPcopy
hub / github.com/jtesta/ssh-audit / is_section_empty

Method is_section_empty

src/ssh_audit/outputbuffer.py:139–141  ·  view source on GitHub ↗

Returns True if the section buffer is empty, otherwise False.

(self)

Source from the content-addressed store, hash-verified

137 self.section = []
138
139 def is_section_empty(self) -> bool:
140 '''Returns True if the section buffer is empty, otherwise False.'''
141 return len(self.section) == 0
142
143 def head(self, s: str, line_ended: bool = True) -> 'OutputBuffer':
144 if not self.batch:

Callers 6

output_algorithmsFunction · 0.80
output_securityFunction · 0.80
output_fingerprintsFunction · 0.80
output_recommendationsFunction · 0.80
output_infoFunction · 0.80
outputFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected