lvm

package module
v0.0.0-...-5e2f66c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 6 Imported by: 0

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 Check

func Check(rs io.ReadSeeker) (bool, error)

func NewPhysicalVolumeHeader

func NewPhysicalVolumeHeader(r io.Reader) (types.PhysicalVolumeHeader, error)

func NewPhysicalVolumeLabelHeader

func NewPhysicalVolumeLabelHeader(r io.Reader) (types.PhysicalVolumeLabelHeader, error)

func Volume

func Volume(rs io.ReadSeeker) (*types.Volume, error)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL