Documentation
¶
Index ¶
- func AutoSync(repoConfig RepoConfig) error
- func GitCommand(repoConfig RepoConfig, args []string) (bytes.Buffer, error)
- func ShouldIgnoreFile(repoPath string, filePath string) (bool, error)
- func WatchForChanges(cfg RepoConfig) error
- type AwakeNotifier
- type AwakeNotifierEmpty
- type RepoConfig
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AutoSync ¶
func AutoSync(repoConfig RepoConfig) error
func GitCommand ¶
func GitCommand(repoConfig RepoConfig, args []string) (bytes.Buffer, error)
func WatchForChanges ¶
func WatchForChanges(cfg RepoConfig) error
Types ¶
type AwakeNotifier ¶
func NewAwakeNotifier ¶
func NewAwakeNotifier() (AwakeNotifier, error)
type AwakeNotifierEmpty ¶
type AwakeNotifierEmpty struct{}
func (AwakeNotifierEmpty) Start ¶
func (AwakeNotifierEmpty) Start(chan bool) error
type RepoConfig ¶
type RepoConfig struct {
RepoPath string
PollInterval time.Duration
FSLag time.Duration
GitExec string
Env []string
}
func NewRepoConfig ¶
func NewRepoConfig(repoPath string) (RepoConfig, error)
type Service ¶
func NewService ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.