Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jtesta/ssh-audit
/ write_bool
Method
write_bool
src/ssh_audit/writebuf.py:44–45 ·
view source on GitHub ↗
(self, v: bool)
Source
from the content-addressed store, hash-verified
42
return
self.write(struct.pack(
'B'
, v))
43
44
def
write_bool(self, v: bool) ->
'WriteBuf'
:
45
return
self.write_byte(1
if
v
else
0)
46
47
def
write_int(self, v: int) ->
'WriteBuf'
:
48
return
self.write(struct.pack(
'>I'
, v))
Callers
3
generate_kex
Method · 0.95
test_bool
Method · 0.80
write
Method · 0.80
Calls
1
write_byte
Method · 0.95
Tested by
1
test_bool
Method · 0.64