MCPcopy Create free account
hub / github.com/chainreactors/EvilProxy / HasPayload

Method HasPayload

internal/logging/request_logger.go:187–194  ·  view source on GitHub ↗

HasPayload reports whether any detail parts were recorded.

()

Source from the content-addressed store, hash-verified

185
186// HasPayload reports whether any detail parts were recorded.
187func (s *FileBodySource) HasPayload() bool {
188 if s == nil {
189 return false
190 }
191 s.mu.Lock()
192 defer s.mu.Unlock()
193 return len(s.paths) > 0 && !s.cleaned
194}
195
196// Paths returns a copy of the ordered part paths.
197func (s *FileBodySource) Paths() []string {

Callers 6

hasFileBodySourcePayloadFunction · 0.80
WriteAPIRequestSourceMethod · 0.80
FinalizeMethod · 0.80
mergeFileBodySourceFunction · 0.80
SetContextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected