| 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. |
| 4 | |
| 5 | //go:build !windows && !darwin |
| 6 | |
| 7 | package robustioscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/robustio`/ |
| 8 | |
| 9 | import ( |
| 10 | "osscip-go gomod github.com/golang/go/src go1.25.0 os/" |
| 11 | ) |
| 12 | |
| 13 | func renamescip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/robustio`/rename().(oldpath, newpath string) error { |
| 14 | return osscip-go gomod github.com/golang/go/src go1.25.0 os/.Renamescip-go gomod github.com/golang/go/src go1.25.0 os/Rename().(oldpath, newpath) |
| 15 | } |
| 16 | |
| 17 | func readFilescip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/robustio`/readFile().(filename string) ([]byte, error) { |
| 18 | return osscip-go gomod github.com/golang/go/src go1.25.0 os/.ReadFilescip-go gomod github.com/golang/go/src go1.25.0 os/ReadFile().(filename) |
| 19 | } |
| 20 | |
| 21 | func removeAllscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/robustio`/removeAll().(path string) error { |
| 22 | return osscip-go gomod github.com/golang/go/src go1.25.0 os/.RemoveAllscip-go gomod github.com/golang/go/src go1.25.0 os/RemoveAll().(path) |
| 23 | } |
| 24 | |
| 25 | func isEphemeralErrorscip-go gomod golang.org/x/tools . `golang.org/x/tools/internal/robustio`/isEphemeralError().(err error) bool { |
| 26 | return false |
| 27 | } |