Documentation ¶
Rendered for windows/amd64
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLogicalDrives ¶
func GetLogicalDrives() []string
GetLogicalDrives returns available device drives in the system.
func IsPathDirectory ¶
IsPathDirectory indicates if path is a valid directory.
func QueryDosDevice ¶
QueryDosDevice translates the DOS device name to hard disk drive letter.
Types ¶
type AttributeData ¶
type AttributeData struct { // FileAttributes represents the file attributes. FileAttributes uint32 // CreationTime specifies when a file or directory is created. If the underlying file system does not support creation time, this member is zero. CreationTime syscall.Filetime // LastAccessTime for a file, the structure specifies the last time that a file is read from or written to. // For a directory, the structure specifies when the directory is created. For both files and directories, // the specified date is correct, but the time of day is always set to midnight. If the underlying file // system does not support the last access time, this member is zero (0). LastAccessTime syscall.Filetime // LastWriteTime for a file, the structure specifies the last time that a file is written to. For a directory, // the structure specifies when the directory is created. If the underlying file system does not support the last write time, // this member is zero (0). LastWriteTime syscall.Filetime // FileSizeHigh high-order part of the file size. FileSizeHigh uint32 // FileSizeLow low-order part of the file size. FileSizeLow uint32 }
AttributeData contains meta information about a file.
type DevInfo ¶
type DevInfo struct { // Type designates the type of underlying device. Type uint32 // Characteristics represents device characteristics. Characteristcs uint32 }
DevInfo provides file system device information about the type of device object associated with a file object.
func QueryVolumeInfo ¶
QueryVolumeInfo obtains device information for the specified file handle.
Click to show internal directories.
Click to hide internal directories.