pub fn test_fsync_enabled() -> bool
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.
GIT_TEST_FSYNC
git_env_bool("GIT_TEST_FSYNC", 1)
maybe_fsync