Documentation ¶ Index ¶ type Git func New(logger *slog.Logger, config config.GitConfig) (*Git, error) func (g *Git) Clone(url string, ref string, path string) error func (g *Git) Pull(path string, ref string) error func (g *Git) SetToken(token string) 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 New ¶ func New(logger *slog.Logger, config config.GitConfig) (*Git, error) func (*Git) Clone ¶ func (g *Git) Clone(url string, ref string, path string) error func (*Git) Pull ¶ func (g *Git) Pull(path string, ref string) error func (*Git) SetToken ¶ added in v0.0.20 func (g *Git) SetToken(token string) Source Files ¶ View all Source files git.go Click to show internal directories. Click to hide internal directories.