Documentation
¶
Index ¶
Constants ¶
View Source
const ( Magic = "070707" Trailer = "TRAILER!!!" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type Header ¶
type ReadCloser ¶
type ReadCloser struct {
Reader
// contains filtered or unexported fields
}
A ReadCloser is a Reader that must be closed when no longer needed.
func Open ¶
func Open(name string) (*ReadCloser, error)
OpenReader will open the CPIO file specified by name and return a Reader.
func (*ReadCloser) Close ¶
func (r *ReadCloser) Close() error
Click to show internal directories.
Click to hide internal directories.