MCPcopy
hub / github.com/dreadl0ck/netcap / Close

Method Close

io/writer.go:32–32  ·  view source on GitHub ↗
(numRecords int64)

Source from the content-addressed store, hash-verified

30 Write(msg proto.Message) error
31 WriteHeader(t types.Type) error
32 Close(numRecords int64) (name string, size int64)
33 // Flush flushes any buffered data to disk without closing the writer.
34 // This is used during live capture to make audit records visible periodically.
35 Flush() error

Callers 15

CloseMethod · 0.95
CopyFileFunction · 0.65
readProtobufRecordsFunction · 0.65
TestDecoderSourceLinksFunction · 0.65
finishFunction · 0.65
CustomMapFunction · 0.65
CollectLiveMethod · 0.65
teardownMethod · 0.65
TestHTTPFileExtractionFunction · 0.65
TestSMTPFileExtractionFunction · 0.65
TestFTPDecoderFunction · 0.65

Implementers 10

FilteringWritercollector/filtering_writer.go
elasticWriterio/elastic.go
jsonWriterio/json_writer.go
unixSocketWriterio/unix_socket_writer.go
fakeWriterio/shared_writer_test.go
nullWriterio/null.go
sharedWriterio/shared_writer.go
csvWriterio/csv_writer.go
chanWriterio/chan_writer.go
protoWriterio/protobuf.go

Calls

no outgoing calls

Tested by 15

readProtobufRecordsFunction · 0.52
TestDecoderSourceLinksFunction · 0.52
TestHTTPFileExtractionFunction · 0.52
TestSMTPFileExtractionFunction · 0.52
TestFTPDecoderFunction · 0.52
TestZeekFTPTraceFunction · 0.52
TestZeekHTTPTraceFunction · 0.52
TestMIMEDetectionFunction · 0.52
TestProtocolFilteringFunction · 0.52