mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 12:56:31 -04:00
13 lines
329 B
Go
13 lines
329 B
Go
//go:build windows
|
|
|
|
package global
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
// TargetLocationFormat returns the full location of an entry (given the name) formatted for the current platform.
|
|
func TargetLocationFormat(targetLocationIncomplete string) string {
|
|
return EntryRoot + strings.ReplaceAll(targetLocationIncomplete, "/", PathSeparator)
|
|
}
|