From 817ceb100a1368cc0860f6876c2b422a06049896 Mon Sep 17 00:00:00 2001 From: Sasha Koshka Date: Mon, 29 Apr 2024 16:22:50 -0400 Subject: [PATCH] Underscore separator for build constraint file --- path_unix.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 path_unix.go diff --git a/path_unix.go b/path_unix.go new file mode 100644 index 0000000..a93be6a --- /dev/null +++ b/path_unix.go @@ -0,0 +1,16 @@ +//go:build unix && !darwin +package nasin + +import "git.tebibyte.media/tomo/xdg/basedir" + +func userDataDir () (string, error) { + return basedir.DataHome() +} + +func userConfigDir () (string, error) { + return basedir.ConfigHome() +} + +func userCacheDir () (string, error) { + return basedir.CacheHome() +}