Documentation
¶
Index ¶
- Constants
- type Service
- func (s *Service) Diff(ctx context.Context, dir, path string, staged bool) (string, error)
- func (s *Service) Divergence(ctx context.Context, dir, base, branch string) (model.Divergence, error)
- func (s *Service) Graph(ctx context.Context, dir string, refs []string, max int) ([]model.GraphLine, error)
- func (s *Service) RepoStats(ctx context.Context, dir string) (model.RepoStats, error)
- func (s *Service) RunGit(ctx context.Context, dir string, args ...string) (string, error)
- func (s *Service) Status(ctx context.Context, dir string) (model.StatusResult, error)
Constants ¶
View Source
const DefaultTimeout = 10 * time.Second
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.