- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for lockAndCheckSubPathWithoutSymlink (0.83 sec)
-
pkg/volume/util/subpath/subpath_windows.go
} return lockAndCheckSubPathWithoutSymlink(finalVolumePath, finalSubPath) } // lock all intermediate subPath directories and check they are all within volumePath // volumePath & subPath should not contain any symlink, otherwise it will return error func lockAndCheckSubPathWithoutSymlink(volumePath, subPath string) ([]uintptr, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Aug 23 12:57:11 UTC 2023 - 12.5K bytes - Viewed (0) -
pkg/volume/util/subpath/subpath_windows_test.go
t.Fatalf("unexpected error: %v", fmt.Errorf("mklink link(%q) target(%q) error: %q", linkPath, test.symlinkTarget, err)) } } } } fileHandles, err := lockAndCheckSubPathWithoutSymlink(test.volumePath, test.subPath) unlockPath(fileHandles) assert.Equal(t, test.expectedHandleCount, len(fileHandles)) if test.expectError {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 13.8K bytes - Viewed (0)