aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/vcs/openbsd.go
blob: 3998ce58a98f57f5f7624015b1c9451a1b7e442d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// Copyright 2018 syzkaller project authors. All rights reserved.
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.

package vcs

import (
	"fmt"
	"io"
)

type openbsd struct {
	*git
}

func newOpenBSD(vm, dir string) *openbsd {
	return &openbsd{
		git: newGit(dir),
	}
}

func (ctx *openbsd) ExtractFixTagsFromCommits(baseCommit, email string) ([]*Commit, error) {
	return ctx.git.ExtractFixTagsFromCommits(baseCommit, email)
}

func (ctx *openbsd) Bisect(bad, good string, trace io.Writer, pred func() (BisectResult, error)) (*Commit, error) {
	return nil, fmt.Errorf("not implemented for openbsd")
}

func (ctx *openbsd) PreviousReleaseTags(commit string) ([]string, error) {
	return nil, fmt.Errorf("not implemented for openbsd")
}