Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DiskSpeed = SpeedLow DiskMaxWrites int32 = 32 DiskSpeedMB float64 )
Functions ¶
func CheckDiskIsFast ¶ added in v1.2.5
CheckDiskIsFast check disk is 'fast' disk to write
func CheckDiskWritingSpeed ¶ added in v1.2.5
CheckDiskWritingSpeed test disk writing speed
func DiskIsExtremelyFast ¶ added in v1.2.7
func DiskIsExtremelyFast() bool
func DiskIsFast ¶ added in v1.2.7
func DiskIsFast() bool
func WriteBegin ¶ added in v1.2.7
func WriteBegin()
func WriteReady ¶ added in v1.2.7
func WriteReady() bool
Types ¶
type StatResult ¶
type StatResult struct {
// contains filtered or unexported fields
}
func NewStatResult ¶
func NewStatResult(rawStat *unix.Statfs_t) *StatResult
func (*StatResult) FreeSize ¶
func (this *StatResult) FreeSize() uint64
func (*StatResult) TotalSize ¶
func (this *StatResult) TotalSize() uint64
func (*StatResult) UsedSize ¶
func (this *StatResult) UsedSize() uint64
Click to show internal directories.
Click to hide internal directories.