mirror of
https://github.com/rclone/rclone.git
synced 2025-12-16 00:04:40 +00:00
local: factor UNCPath into lib/file
This commit is contained in:
10
lib/file/unc.go
Normal file
10
lib/file/unc.go
Normal file
@@ -0,0 +1,10 @@
|
||||
//+build !windows
|
||||
|
||||
package file
|
||||
|
||||
// UNCPath converts an absolute Windows path to a UNC long path.
|
||||
//
|
||||
// It does nothing on non windows platforms
|
||||
func UNCPath(l string) string {
|
||||
return l
|
||||
}
|
||||
Reference in New Issue
Block a user