Skip to main content

test_fsync_enabled

Function test_fsync_enabled 

Source
pub fn test_fsync_enabled() -> bool
Expand description

Whether GIT_TEST_FSYNC permits real barriers. Upstream reads this as a boolean through git_env_bool("GIT_TEST_FSYNC", 1) inside maybe_fsync; unrecognized spellings leave syncing enabled.