More correctly use build constraints in entryList.go

This commit is contained in:
2024-03-06 20:45:02 -05:00
parent 11644b37ff
commit 14b3d7bd45
5 changed files with 32 additions and 20 deletions
+2 -5
View File
@@ -5,8 +5,5 @@ package offline
// EntryRoot path to libmutton entry directory
var EntryRoot = home + "/.local/share/libmutton"
// exported constants
const (
PathSeparator = "/"
Windows = false
)
// PathSeparator defines the character used to separate directories in a path (platform-specific)
const PathSeparator = "/"
+2 -5
View File
@@ -5,8 +5,5 @@ package offline
// EntryRoot path to libmutton entry directory
var EntryRoot = home + "\\AppData\\Local\\libmutton\\entries"
// exported constants
const (
PathSeparator = "\\"
Windows = true
)
// PathSeparator defines the character used to separate directories in a path (platform-specific)
const PathSeparator = "\\"