MCPcopy Create free account
hub / github.com/libgit2/git2go / TestEnableFsyncGitDir

Function TestEnableFsyncGitDir

settings_test.go:68–74  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

66}
67
68func TestEnableFsyncGitDir(t *testing.T) {
69 err := EnableFsyncGitDir(false)
70 checkFatal(t, err)
71
72 err = EnableFsyncGitDir(true)
73 checkFatal(t, err)
74}
75
76func TestCachedMemory(t *testing.T) {
77 current, allowed, err := CachedMemory()

Callers

nothing calls this directly

Calls 2

EnableFsyncGitDirFunction · 0.85
checkFatalFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…