grumble/pkg/replacefile/replacefile_stub.go
2012-11-18 17:59:07 +01:00

22 lines
588 B
Go

// Copyright (c) 2012 The Grumble Authors
// The use of this source code is goverened by a BSD-style
// license that can be found in the LICENSE-file.
// +build !windows
package replacefile
import (
"errors"
)
var (
errOnlyWindows = errors.New("replacefile: only implemented on Windows")
ErrUnableToMoveReplacement error = errOnlyWindows
ErrUnableToMoveReplacement2 error = errOnlyOnWindows
ErrUnableToRemoveReplaced error = errOnlyWindows
)
func ReplaceFile(replaced string, replacement string, backup string, flags Flag) error {
return errOnlyWindows
}