common

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoSync

func AutoSync(repoPath string) error

func GitCommand

func GitCommand(repoPath string, args []string) (bytes.Buffer, error)

func WatchForChanges

func WatchForChanges(repoPath string) error

func WriteConfig

func WriteConfig(config *Config) error

Types

type Config

type Config struct {
	Repos []string `json:"repos"`
}

func ReadConfig

func ReadConfig() (*Config, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL