mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-08-28 04:46:42 -04:00
11 lines
322 B
Go
11 lines
322 B
Go
//go:build windows
|
|
|
|
package core
|
|
|
|
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)
|
|
}
|