Documentation
¶
Overview ¶
package platform provides platform specific code for the hashstore.
Index ¶
Constants ¶
View Source
const FlockSupported = true
FlockSupported is a constant indicating if flock is supported on the platform.
Variables ¶
View Source
var Error = errs.Class("platform")
Error wraps errors returned by this package.
Functions ¶
func CreateFile ¶
CreateFile creates a file in read/write mode that errors if it already exists.
func Fallocate ¶
Fallocate preallocates space for a file. It is a no-op on platforms that do not support it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.