Examples using... filepath.IsAbs()

Recent
IsAbs reports whether the path is absolute.
The filepath package provides functions to parse and construct file paths in a way that is portable between operating systems; dir/file on Linux vs. dir\file on Windows, for example.