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

Method Close

src/cmd/linuxkit/initrd/initrd.go:152–162  ·  view source on GitHub ↗

Close closes the writer

()

Source from the content-addressed store, hash-verified

150
151// Close closes the writer
152func (w *Writer) Close() error {
153 err1 := w.cw.Close()
154 err2 := w.gw.Close()
155 if err1 != nil {
156 return err1
157 }
158 if err2 != nil {
159 return err2
160 }
161 return nil
162}

Callers 15

OCITarReaderMethod · 0.95
OCITarReaderMethod · 0.95
copyFilesToContainerMethod · 0.95
ReaderMethod · 0.95
BuildMethod · 0.95
UploadFileMethod · 0.45
pkgBuildCmdFunction · 0.45
createOpenStackImageFunction · 0.45
cacheImportCmdFunction · 0.45
BootInstanceAndWaitMethod · 0.45
getSSHAuthFunction · 0.45

Calls

no outgoing calls

Tested by 1

BuildMethod · 0.76