Documentation ¶
Overview ¶
Package wim implements a WIM file parser.
WIM files are used to distribute Windows file system and container images. They are documented at https://msdn.microsoft.com/en-us/library/windows/desktop/dd861280.aspx.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { FileHeader Streams []*Stream // contains filtered or unexported fields }
File represents a file or directory in a WIM image.
type FileHeader ¶
type FileHeader struct { Name string ShortName string Attributes uint32 SecurityDescriptor []byte CreationTime syscall.Filetime LastAccessTime syscall.Filetime LastWriteTime syscall.Filetime Hash SHA1Hash Size int64 LinkID int64 ReparseTag uint32 ReparseReserved uint32 ReparseStream *Stream }
FileHeader contains file metadata.
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Image represents an image within a WIM file.
type ParseError ¶
ParseError is returned when the WIM cannot be parsed.
func (*ParseError) Error ¶
func (e *ParseError) Error() string
type Reader ¶
type Reader struct { Image []*Image // The WIM's images. // contains filtered or unexported fields }
Reader provides functions to read a WIM file.
type Stream ¶
type Stream struct { StreamHeader // contains filtered or unexported fields }
Stream represents an alternate data stream or reparse point data stream.
type StreamHeader ¶
StreamHeader contains alternate data stream metadata.
Click to show internal directories.
Click to hide internal directories.