Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsFsyncDisabled ¶
func IsFsyncDisabled() bool
IsFsyncDisabled returns true if fsync must be disabled
The fsync is disabled in tests, since it significantly slows down tests which work with files. The fsync can be enabled in tests by setting DISABLE_FSYNC_FOR_TESTING environment variable to false.
The fsync is enabled for ordinary programs. It can be disabled by setting DISABLE_FSYNC_FOR_TESTING environment variable to true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.