MCPcopy Create free account
hub / github.com/go-git/go-git / TestAlternatesDefault

Function TestAlternatesDefault

storage/filesystem/dotgit/dotgit_test.go:815–820  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

813}
814
815func TestAlternatesDefault(t *testing.T) {
816 // Create a new dotgit object.
817 dotFS := osfs.New(t.TempDir())
818
819 testAlternates(t, dotFS, dotFS)
820}
821
822func TestAlternatesWithFS(t *testing.T) {
823 // Create a new dotgit object with a specific FS for alternates.

Callers

nothing calls this directly

Calls 1

testAlternatesFunction · 0.85

Tested by

no test coverage detected