mirror of
https://github.com/octoleo/restic.git
synced 2024-11-22 21:05:10 +00:00
fs: remove redundant fixpath in vss code
This commit is contained in:
parent
4052a5927c
commit
289159beaf
@ -176,7 +176,7 @@ func (fs *LocalVss) snapshotPath(path string) string {
|
|||||||
return path
|
return path
|
||||||
}
|
}
|
||||||
|
|
||||||
fixPath = strings.TrimPrefix(fixpath(path), `\\?\`)
|
fixPath = strings.TrimPrefix(fixPath, `\\?\`)
|
||||||
fixPathLower := strings.ToLower(fixPath)
|
fixPathLower := strings.ToLower(fixPath)
|
||||||
volumeName := filepath.VolumeName(fixPath)
|
volumeName := filepath.VolumeName(fixPath)
|
||||||
volumeNameLower := strings.ToLower(volumeName)
|
volumeNameLower := strings.ToLower(volumeName)
|
||||||
|
Loading…
Reference in New Issue
Block a user