Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lockAndCheckSubPath (0.27 sec)

  1. pkg/volume/util/subpath/subpath_windows.go

    }
    
    // check whether hostPath is within volume path
    // this func will lock all intermediate subpath directories, need to close handle outside of this func after container started
    func lockAndCheckSubPath(volumePath, hostPath string) ([]uintptr, error) {
    	if len(volumePath) == 0 || len(hostPath) == 0 {
    		return []uintptr{}, nil
    	}
    
    	finalSubPath, err := evalSymlink(hostPath)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
Back to top