MCPcopy
hub / github.com/monasticacademy/httptap / NewFileStream

Function NewFileStream

experiments/goproxy/goproxy-experiment.go:27–29  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

25}
26
27func NewFileStream(path string) *FileStream {
28 return &FileStream{path, nil}
29}
30
31func (fs *FileStream) Write(b []byte) (nr int, err error) {
32 if fs.f == nil {

Callers 2

LogRespMethod · 0.85
LogReqMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected