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

Function TestOpenDefault

config_test.go:111–119  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

109}
110
111func TestOpenDefault(t *testing.T) {
112
113 c, err := OpenDefault()
114 if err != nil {
115 t.Errorf("OpenDefault error: '%v'. Expected none\n", err)
116 return
117 }
118 defer c.Free()
119}

Callers

nothing calls this directly

Calls 2

OpenDefaultFunction · 0.85
FreeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…