Documentation ¶
Index ¶
- type Git
- func (g *Git) Commit() (string, error)
- func (g *Git) GetRepo() string
- func (g *Git) HandleEvent(errChan chan error, resultChan chan string, event fsnotify.Event)
- func (g *Git) HasChanges() (bool, error, string)
- func (g *Git) Pull() (string, error)
- func (g *Git) Push() (string, error)
- func (g *Git) SetRepo(repo string) (*Git, error)
- func (g *Git) SetWatcher() error
- func (g *Git) Stage() (string, error)
- func (g *Git) Status() (string, error)
- func (g *Git) Sync() (string, error)
- func (g *Git) Watcher() *fsnotify.Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
func (*Git) HandleEvent ¶
func (*Git) SetWatcher ¶
Click to show internal directories.
Click to hide internal directories.