Documentation ¶
Index ¶
- type Config
- type GitHelper
- func (g GitHelper) Clone(name string, url string) error
- func (g GitHelper) Commit(repoName string) error
- func (g GitHelper) CommitAndPush(repoName string) error
- func (g GitHelper) Pull(repoName string) error
- func (g GitHelper) Push(repoName string) error
- func (g GitHelper) Remove(repoName string, path string) error
- type Index
- type Mover
- func (m Mover) Add(path string, repoName string) error
- func (m Mover) List(repoName string) (map[string]string, error)
- func (m Mover) Remove(id string) (string, error)
- func (m Mover) RemoveFromRepository(repoName string, id string) error
- func (m Mover) Restore(repoName string) []error
- func (m Mover) RestoreFile(repoName string, id string) error
- func (m Mover) Update(repoName string) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Name string `json:"name"` Email string `json:"email"` Repository map[string]string `json:"Repository"` // contains filtered or unexported fields }
func LoadConfig ¶
func (Config) CheckRepository ¶
func (*Config) RemoveRepository ¶
type GitHelper ¶
func (GitHelper) CommitAndPush ¶
type Index ¶
Click to show internal directories.
Click to hide internal directories.