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

Method Paths

internal/logging/request_logger.go:197–206  ·  view source on GitHub ↗

Paths returns a copy of the ordered part paths.

()

Source from the content-addressed store, hash-verified

195
196// Paths returns a copy of the ordered part paths.
197func (s *FileBodySource) Paths() []string {
198 if s == nil {
199 return nil
200 }
201 s.mu.Lock()
202 defer s.mu.Unlock()
203 out := make([]string, len(s.paths))
204 copy(out, s.paths)
205 return out
206}
207
208// WriteTo merges all ordered parts into w.
209func (s *FileBodySource) WriteTo(w io.Writer) error {

Calls

no outgoing calls