Documentation
¶
Index ¶
- Constants
- type Storage
- func (s *Storage) DoGc() error
- func (s *Storage) ListDirs() ([]string, error)
- func (s *Storage) ListRepoPaths(prefix, baseUrl, owner string, regex *regexp.Regexp, glob string) ([]string, error)
- func (s *Storage) RepoPath(prefix, baseUrl, owner, repo string) string
- func (s *Storage) UpdateRepoMetadata(domain, name, repo string, data []byte) error
- func (s *Storage) UpdateSource(domain, name, repo, cloneUrl, tokenEnvvarName string) error
Constants ¶
View Source
const ( MetadataDirname = "metadata" SourceDirname = "src" RepoFilename = "repo.json" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func NewStorage ¶
func (*Storage) ListRepoPaths ¶
func (*Storage) UpdateRepoMetadata ¶
func (*Storage) UpdateSource ¶
Click to show internal directories.
Click to hide internal directories.