src/os/root_nonwindows.go
raw| 1 | // Copyright 2024 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 |
| 6 | |
| 7 | package os |
| 8 | |
| 9 | func rootCleanPath(s string, prefix, suffix []string) (string, error) { |
| 10 | return s, nil |
| 11 | } |