MCPcopy Index your code
hub / github.com/foxcpp/maddy / Remove

Method Remove

framework/buffer/buffer.go:59–59  ·  view source on GitHub ↗

Remove discards buffered body and releases all associated resources. Multiple Buffer objects may refer to the same underlying storage. In this case, care should be taken to ensure that Remove is called only once since it will discard the shared storage and invalidate all Buffer objects using it. R

()

Source from the content-addressed store, hash-verified

57 // Readers previously created using Open can still be used, but
58 // new ones can't be created.
59 Remove() error
60}

Callers 9

RemoveMethod · 0.65
CloseMethod · 0.65
DataMethod · 0.65
LMTPDataMethod · 0.65
DeleteMethod · 0.65
TestReadFileFunction · 0.65
TestFileReloadFunction · 0.65
TestFileReload_BrokenFunction · 0.65
TestFileReload_RemovedFunction · 0.65

Implementers 3

FileBufferframework/buffer/file.go
MemoryBufferframework/buffer/memory.go
FailingBufferinternal/testutils/buffer.go

Calls

no outgoing calls

Tested by 4

TestReadFileFunction · 0.52
TestFileReloadFunction · 0.52
TestFileReload_BrokenFunction · 0.52
TestFileReload_RemovedFunction · 0.52