Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Read ¶
func (g *Client) Pull() error { g.logger.Debug("Pulling") err := g.workTree.PullContext(g.ctx, &gogit.PullOptions{ // Depth: 1, SingleBranch: true, RemoteName: "origin", Auth: g.auth, Progress: g.progress, Force: true, }) if err != nil && !strings.Contains(err.Error(), gogit.NoErrAlreadyUpToDate.Error()) { return errors.Wrap(err, "pulling repository failed") } g.logger.Debug("Repository pulled to worktree") return nil }
type LatestFile ¶
Click to show internal directories.
Click to hide internal directories.