- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for NormalizeWindowsPath (0.13 sec)
-
pkg/volume/util/hostutil/hostutil_windows.go
return "", err } if len(refs) == 0 { return "", fmt.Errorf("directory %s is not mounted", mountPath) } basemountPath := mount.NormalizeWindowsPath(pluginMountDir) for _, ref := range refs { if strings.Contains(ref, basemountPath) { volumeID, err := filepath.Rel(mount.NormalizeWindowsPath(basemountPath), ref) if err != nil { klog.Errorf("Failed to get volume id from mount %s - %v", mountPath, err) return "", err }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 13:38:40 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows.go
// If the path after evaluation is a device path or network connection, the original path is returned func evalSymlink(path string) (string, error) { path = mount.NormalizeWindowsPath(path) if isDeviceOrUncPath(path) || isDriveLetterorEmptyPath(path) { klog.V(4).Infof("Path '%s' is not a symlink, return its original form.", path) return path, nil } upperpath := path base := ""
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0)