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

Method TestFetchFastForwardFS

remote_test.go:544–551  ·  view source on GitHub ↗
(c *C)

Source from the content-addressed store, hash-verified

542}
543
544func (s *RemoteSuite) TestFetchFastForwardFS(c *C) {
545 fs := s.TemporalFilesystem(c)
546
547 fss := filesystem.NewStorage(fs, cache.NewObjectLRUDefault())
548
549 // This exercises `storage.filesystem.Storage.CheckAndSetReference()`.
550 s.testFetchFastForward(c, fss)
551}
552
553func (s *RemoteSuite) TestString(c *C) {
554 r := NewRemote(nil, &config.RemoteConfig{

Callers

nothing calls this directly

Calls 4

testFetchFastForwardMethod · 0.95
NewStorageFunction · 0.92
NewObjectLRUDefaultFunction · 0.92
TemporalFilesystemMethod · 0.45

Tested by

no test coverage detected