MCPcopy Index your code
hub / github.com/linuxkit/linuxkit / Write

Method Write

src/cmd/linuxkit/initrd/initrd.go:147–149  ·  view source on GitHub ↗

Write writes a cpio file into an initrd

(b []byte)

Source from the content-addressed store, hash-verified

145
146// Write writes a cpio file into an initrd
147func (w *Writer) Write(b []byte) (n int, e error) {
148 return w.cw.Write(b)
149}
150
151// Close closes the writer
152func (w *Writer) Close() error {

Callers 8

copyFilesToContainerMethod · 0.95
BuildMethod · 0.95
PushMethod · 0.45
GetMethod · 0.45
writeLayoutHeaderFunction · 0.45
writeLayoutIndexFunction · 0.45
V1TarReaderMethod · 0.45
copyTarEntryFunction · 0.45

Calls

no outgoing calls

Tested by 1

BuildMethod · 0.76