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