MCPcopy Create free account
hub / github.com/danderson/netboot / WriteBootFile

Method WriteBootFile

pixiecore/http_test.go:160–160  ·  view source on GitHub ↗
(id ID, r io.Reader)

Source from the content-addressed store, hash-verified

158 return ioutil.NopCloser(bytes.NewBuffer([]byte(d))), int64(len(d)), nil
159}
160func (b readBootFile) WriteBootFile(id ID, r io.Reader) error { return errors.New("no") }
161
162func TestFile(t *testing.T) {
163 log := func(subsystem, msg string) { t.Logf("[%s] %s", subsystem, msg) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected