func (s *BaseSuite) NewRepository(f *fixtures.Fixture) *Repository { r, err := NewFilesystemRepository(f.DotGit().Base()) if err != nil { panic(err) } return r }
func (s *BaseSuite) NewRepository(f *fixtures.Fixture) *Repository { storage, err := filesystem.NewStorage(f.DotGit()) if err != nil { panic(err) } r, err := NewRepository(storage) if err != nil { panic(err) } return r }
func (s *BaseSuite) GetLocalRepositoryURL(f *fixtures.Fixture) string { path := f.DotGit().Base() return fmt.Sprintf("file://%s", path) }