volumeflag

package
v0.0.0-...-2776432 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Flag

type Flag uint16

Flag is a volume information flag.

const (
	Dirty             Flag = 0x0001
	ResizeLogFile     Flag = 0x0002
	UpgradeOnMount    Flag = 0x0004
	MountedOnNT4      Flag = 0x0008
	DeleteUSNUnderway Flag = 0x0010
	RepairObjectID    Flag = 0x0020
	ChkdskUnderway    Flag = 0x4000
	ModifiedByChkdsk  Flag = 0x8000
	KnownMask         Flag = Dirty | ResizeLogFile | UpgradeOnMount | MountedOnNT4 | DeleteUSNUnderway | RepairObjectID | ChkdskUnderway | ModifiedByChkdsk
	UnknownMask       Flag = ^KnownMask
)

Volume information flags.

func Unmarshal

func Unmarshal(data []byte) Flag

Unmarshal unmarshals the little-endian binary representation of volume information flags.

The provided data must be at least 2 bytes long, or unmarshal will panic.

func (Flag) String

func (f Flag) String() string

String returns a description of the volume information flags.

Jump to

Keyboard shortcuts

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