FileExists returns true if and only if the file in a given path exists
(path string)
| 39 | |
| 40 | // FileExists returns true if and only if the file in a given path exists |
| 41 | func FileExists(path string) (bool) { |
| 42 | _, err := os.Stat(path); |
| 43 | return !os.IsNotExist(err); |
| 44 | } |
no outgoing calls
no test coverage detected