1package noop
 2
 3import (
 4	"github.com/charmbracelet/soft-serve/git"
 5	"github.com/charmbracelet/soft-serve/server/backend"
 6)
 7
 8var _ backend.Repository = (*repo)(nil)
 9
10type repo struct {
11	path string
12}
13
14// Description implements backend.Repository
15func (*repo) Description() string {
16	return ""
17}
18
19// IsPrivate implements backend.Repository
20func (*repo) IsPrivate() bool {
21	return false
22}
23
24// Name implements backend.Repository
25func (*repo) Name() string {
26	return ""
27}
28
29// Repository implements backend.Repository
30func (r *repo) Open() (*git.Repository, error) {
31	return git.Open(r.path)
32}