forked from External/grumble
22 lines
588 B
Go
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
|
|
}
|