Documentation ¶
Index ¶
Constants ¶
View Source
const SectorSize = 512
Variables ¶
View Source
var (
Lexer = lexer.MustSimple([]lexer.SimpleRule{
{"Comment", `(?:#|//)[^\n]*\n?`},
{"Number", `(?:\d*\.)?\d+`},
{"Ident", `[0-9a-zA-Z_-]+`},
{"String", `"(\\"|[^"])*"`},
{"Punct", `[[!@#$%^&*()+_={}\|:;"'<,>.?/]|]`},
{"Whitespace", `[ \t\n\r]+`},
})
)
Functions ¶
func NewPhysicalVolumeHeader ¶
func NewPhysicalVolumeHeader(r io.Reader) (types.PhysicalVolumeHeader, error)
func NewPhysicalVolumeLabelHeader ¶
func NewPhysicalVolumeLabelHeader(r io.Reader) (types.PhysicalVolumeLabelHeader, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.