d7a3a090df
From the 1.17 release notes (https://golang.org/doc/go1.17#gofmt): gofmt (and go fmt) now synchronizes //go:build lines with // +build lines. More info about this change can be found at https://golang.org/design/draft-gobuild
23 lines
434 B
Go
23 lines
434 B
Go
//go:build !linux && !darwin && !windows
|
|
// +build !linux,!darwin,!windows
|
|
|
|
package tools
|
|
|
|
import (
|
|
"io"
|
|
|
|
"github.com/git-lfs/git-lfs/v2/errors"
|
|
)
|
|
|
|
func CheckCloneFileSupported(dir string) (supported bool, err error) {
|
|
return false, errors.New("unsupported platform")
|
|
}
|
|
|
|
func CloneFile(writer io.Writer, reader io.Reader) (bool, error) {
|
|
return false, nil
|
|
}
|
|
|
|
func CloneFileByPath(_, _ string) (bool, error) {
|
|
return false, nil
|
|
}
|