type go.pact.im/x/goship/internal/vcs/memvcs.Repo
19 uses
go.pact.im/x/goship/internal/vcs/memvcs (current package)
repo.go#L36: type Repo struct {
repo.go#L49: func New(initialFiles map[string][]byte) *Repo {
repo.go#L50: r := &Repo{
repo.go#L61: func (r *Repo) commitLocked(msg string, files map[string][]byte) string {
repo.go#L76: func (r *Repo) CommitFiles(msg string, updates map[string][]byte) string {
repo.go#L88: func (r *Repo) AddTag(name, rev string) {
repo.go#L96: func (r *Repo) Pushes() []PushRecord {
repo.go#L103: func (r *Repo) Name() string { return Name }
repo.go#L106: func (r *Repo) Root() string { return r.root }
repo.go#L109: func (r *Repo) ResolveRev(_ context.Context, rev string) (vcs.Revision, error) {
repo.go#L133: func (r *Repo) Tags(_ context.Context) ([]string, error) {
repo.go#L142: func (r *Repo) ChangedFiles(_ context.Context, baseRev, targetRev, dir string) ([]string, error) {
repo.go#L183: func (r *Repo) ListFiles(_ context.Context, rev, dir string) ([]vcs.FileEntry, error) {
repo.go#L195: func (r *Repo) ReadFile(_ context.Context, rev, slashPath string) ([]byte, error) {
repo.go#L211: func (r *Repo) Begin(_ context.Context, rev vcs.Revision) (vcs.Session, error) {
repo.go#L231: func (r *Repo) Push(_ context.Context, remote, ref string, tags []string) error {
repo.go#L244: func (r *Repo) PushHint(remote string, res vcs.PublishResult) string {
repo.go#L248: func (r *Repo) resolveIDLocked(rev string) (string, bool) {
session.go#L16: repo *Repo