Copyright 2010 The Go Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. https://github.com/golang/go/blob/master/LICENSE This file contains utilities to check for Windows absolute paths on Linux. The code in this file was
(c uint8)
| 10 | // https://github.com/golang/go/blob/1d0e94b1e13d5e8a323a63cd1cc1ef95290c9c36/src/path/filepath/path_windows.go#L12-L65 |
| 11 | |
| 12 | func isSlash(c uint8) bool { |
| 13 | return c == '\\' || c == '/' |
| 14 | } |
| 15 | |
| 16 | // isAbs reports whether the path is a Windows absolute path. |
| 17 | func isAbs(path string) (b bool) { |
no outgoing calls
no test coverage detected
searching dependent graphs…