MCPcopy Index your code
hub / github.com/go-git/go-git / TestAlternatesDefault

Function TestAlternatesDefault

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

Source from the content-addressed store, hash-verified

838}
839
840func TestAlternatesDefault(t *testing.T) {
841 // Create a new dotgit object.
842 dotFS := osfs.New(t.TempDir())
843
844 testAlternates(t, dotFS, dotFS)
845}
846
847func TestAlternatesWithFS(t *testing.T) {
848 // 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…