Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
FilesBuffer = 8
)
Functions ¶
func DriveTypeNames ¶
func DriveTypeNames() []string
DriveTypeNames returns a list of possible string values of DriveType.
Types ¶
type DriveType ¶
type DriveType int
ENUM( Unknown=0 Removable=1 Fixed=2 Remote=4 CDRom=8 RAM=16 )
const ( // DriveTypeUnknown is a DriveType of type Unknown DriveTypeUnknown DriveType = iota // DriveTypeRemovable is a DriveType of type Removable DriveTypeRemovable // DriveTypeFixed is a DriveType of type Fixed DriveTypeFixed // DriveTypeRemote is a DriveType of type Remote DriveTypeRemote DriveType = iota + 1 // DriveTypeCDRom is a DriveType of type CDRom DriveTypeCDRom DriveType = iota + 4 // DriveTypeRAM is a DriveType of type RAM DriveTypeRAM DriveType = iota + 11 )
func ParseDriveType ¶
ParseDriveType attempts to convert a string to a DriveType
func (DriveType) MarshalText ¶
MarshalText implements the text marshaller method
func (*DriveType) UnmarshalText ¶
UnmarshalText implements the text unmarshaller method
type FSScanProgress ¶
type FSScanner ¶
type FSScanner struct { NGoroutines int // contains filtered or unexported fields }
func NewFSScanner ¶
func NewFSScanner(scanner FileScanner) *FSScanner
type FileScanner ¶
type Iterator ¶
func Concurrent ¶
Click to show internal directories.
Click to hide internal directories.