mirror of
https://gitea.com/Sirherobrine23/tea.git
synced 2024-08-21 17:57:24 +00:00
11 lines
147 B
Go
11 lines
147 B
Go
|
// +build !windows
|
||
|
|
||
|
package xdg
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
func pathExists(path string) bool {
|
||
|
_, err := os.Stat(path)
|
||
|
return err == nil || os.IsExist(err)
|
||
|
}
|