mirror of
https://github.com/appleboy/drone-scp.git
synced 2026-03-05 14:57:01 -05: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)
|
|
}
|