Documentation
¶
Index ¶
Constants ¶
View Source
const NTFSSbMagic = 0x5346544e
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileInfo ¶
type FileInfo struct {
// contains filtered or unexported fields
}
FileInfo defines a custom fs.FileInfo implementation for wrapping the results from the file info system calls.
type Info ¶
type Info struct {
Path string `json:"path"`
Volume string `json:"volume"`
FSName string `json:"fsName"`
TotalBytes uint64 `json:"total"`
FreeBytes uint64 `json:"free"`
UsedBytes uint64 `json:"used"`
UsedPercent float64 `json:"usedPercent"`
}
Info contains information about a single drive/volume/mount. The data can be fetched using a corresponding operating system syscall against a target entry.
Click to show internal directories.
Click to hide internal directories.