git-lfs/tools/util_generic.go
2022-01-18 17:38:25 +00:00

24 lines
481 B
Go

//go:build !linux && !darwin && !windows
// +build !linux,!darwin,!windows
package tools
import (
"io"
"github.com/git-lfs/git-lfs/v3/errors"
"github.com/git-lfs/git-lfs/v3/tr"
)
func CheckCloneFileSupported(dir string) (supported bool, err error) {
return false, errors.New(tr.Tr.Get("unsupported platform"))
}
func CloneFile(writer io.Writer, reader io.Reader) (bool, error) {
return false, nil
}
func CloneFileByPath(_, _ string) (bool, error) {
return false, nil
}