Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is currently identical to support for OpenBSD and NetBSD. A FreeBSD git repo is available at github.com/freebsd/freebsd.
- Loading branch information
Showing
2 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// Copyright 2019 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 freebsd struct { | ||
*git | ||
} | ||
|
||
func newFreeBSD(vm, dir string) *freebsd { | ||
return &freebsd{ | ||
git: newGit(dir), | ||
} | ||
} | ||
|
||
func (ctx *freebsd) ExtractFixTagsFromCommits(baseCommit, email string) ([]*Commit, error) { | ||
return ctx.git.ExtractFixTagsFromCommits(baseCommit, email) | ||
} | ||
|
||
func (ctx *freebsd) Bisect(bad, good string, trace io.Writer, pred func() (BisectResult, error)) (*Commit, error) { | ||
return nil, fmt.Errorf("not implemented for freebsd") | ||
} | ||
|
||
func (ctx *freebsd) PreviousReleaseTags(commit string) ([]string, error) { | ||
return nil, fmt.Errorf("not implemented for freebsd") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters