fsutil

package
v1.9.1-victorialogs Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL