Versions in this module Expand all Collapse all v1 v1.0.0 May 22, 2023 Changes in this version + func BackUp(repoPath, backUpPath string) error + func Restore(repoPath, backUpPath string) error + type Repo struct + func NewRepository(path string) *Repo + func (r *Repo) Path() string + type Storage struct + func NewStorage() (*Storage, error) + func (s *Storage) CreateRepository(ctx *gin.Context, userName, repoName string) (*Repo, error) + func (s *Storage) GetRepository(userName, repoName string) (*Repo, error) + func (s *Storage) Path() string + func (s *Storage) RemoveRepository(ctx *gin.Context, userName, repoName string) error