|
@@ -174,6 +174,7 @@ func (a ServerMessageBlockFileSystemAbstraction) VirtualPathToRealPath(subpath s
|
|
|
}
|
|
|
|
|
|
func (a ServerMessageBlockFileSystemAbstraction) RealPathToVirtualPath(fullpath string, username string) (string, error) {
|
|
|
+ fullpath = filterFilepath(fullpath)
|
|
|
fullpath = strings.TrimPrefix(fullpath, "\\")
|
|
|
vpath := a.UUID + ":/" + filterFilepath(fullpath)
|
|
|
return vpath, nil
|