mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-06-04 18:23:59 +08:00
12 lines
178 B
Go
12 lines
178 B
Go
// +build windows
|
|
|
|
package main
|
|
|
|
import (
|
|
"strings"
|
|
)
|
|
|
|
func getRealPath(path string) string {
|
|
return "/" + strings.Replace(strings.Replace(path, ":", "", -1), "\\", "/", -1)
|
|
}
|