mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-30 22:06:30 -04:00
Lay groundwork for NT/UNIX-like sync interoperability
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//go:build windows
|
||||
|
||||
package sync
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// printToStdout prints a string to stdout with UNIX path separators
|
||||
func printToStdout(targetLocationIncomplete string) {
|
||||
fmt.Print("\x1f" + strings.ReplaceAll(targetLocationIncomplete, "\\", "/"))
|
||||
}
|
||||
Reference in New Issue
Block a user