(path string)
| 3 | import "os" |
| 4 | |
| 5 | func IsNotExistingPath(path string) bool { |
| 6 | _, err := os.Stat(path) |
| 7 | |
| 8 | return os.IsNotExist(err) |
| 9 | } |
| 10 | |
| 11 | func IsExistingPath(path string) bool { |
| 12 | return !IsNotExistingPath(path) |
no outgoing calls
no test coverage detected