Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/secdev/scapy
/ push
Method
push
scapy/pipetool.py:555–559 ·
view source on GitHub ↗
(self, msg)
Source
from the content-addressed store, hash-verified
553
self._write_pipe = 1
554
555
def
push(self, msg):
556
# type: (str) -> None
557
if
self.newlines:
558
msg +=
"\n"
559
os.write(self._write_pipe, msg.encode(
"utf8"
))
560
561
def
high_push(self, msg):
562
# type: (str) -> None
Callers
nothing calls this directly
Calls
2
encode
Method · 0.80
write
Method · 0.45
Tested by
no test coverage detected