1 // Copyright 2019 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 //+build !windows,!darwin
14 func rename(oldpath, newpath string) error {
15 return os.Rename(oldpath, newpath)
18 func readFile(filename string) ([]byte, error) {
19 return ioutil.ReadFile(filename)
22 func removeAll(path string) error {
23 return os.RemoveAll(path)
26 func isEphemeralError(err error) bool {