From 34adb3a7e676a43cd692b4da14398a7d1b0be822 Mon Sep 17 00:00:00 2001 From: Andinus Date: Wed, 8 Apr 2020 01:44:15 +0530 Subject: Prepare for next rewrite --- storage/getdir_darwin.go | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 storage/getdir_darwin.go (limited to 'storage/getdir_darwin.go') diff --git a/storage/getdir_darwin.go b/storage/getdir_darwin.go deleted file mode 100644 index 8d6ebbf..0000000 --- a/storage/getdir_darwin.go +++ /dev/null @@ -1,22 +0,0 @@ -// +build darwin - -package storage - -import ( - "fmt" - "os" -) - -// GetDir returns grus data directory. Default data directory on -// macOS is $HOME/Library. -func GetDir() string { - cacheDir := fmt.Sprintf("%s/%s", - os.Getenv("HOME"), - "Library") - - // Grus cache directory is cacheDir/grus - grusCacheDir := fmt.Sprintf("%s/%s", cacheDir, - "grus") - - return grusCacheDir -} -- cgit 1.4.1-2-gfad0