os.exists(path string) bool
Check whether a file exists:
Example:
if os.exists("/path/to/somefile.txt") { //do stuff with file }
There was an error while loading. Please reload this page.