Make server respond to "fetch" with output formatted for the client's OS family

This commit is contained in:
2024-05-17 19:36:23 -04:00
parent 332a932d80
commit ecce45cfeb
5 changed files with 37 additions and 15 deletions
+1 -1
View File
@@ -10,5 +10,5 @@ var ConfigPath = ConfigDir + "/libmutton.ini"
// PathSeparator defines the character used to separate directories in a path (platform-specific)
const (
PathSeparator = "/"
Windows = false // TODO temporary, remove after native sync is implemented
IsWindows = false
)
+1 -1
View File
@@ -10,5 +10,5 @@ var ConfigPath = ConfigDir + "\\libmutton.ini"
// PathSeparator defines the character used to separate directories in a path (platform-specific)
const (
PathSeparator = "\\"
Windows = true // TODO temporary, remove after native sync is implemented
IsWindows = true
)