Documentation ¶
Index ¶
Constants ¶
View Source
const PreallocateImplemented = true
PreallocateImplemented is a constant indicating whether the implementation of Preallocate actually does anything.
View Source
const SetSparseImplemented = false
SetSparseImplemented is a constant indicating whether the implementation of SetSparse actually does anything.
Variables ¶
View Source
var ErrDiskFull = errors.New("preallocate: file too big for remaining disk space")
ErrDiskFull is returned from PreAllocate when it detects disk full
Functions ¶
func PreAllocate ¶
PreAllocate the file for performance reasons
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.