Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetVolumePathName (0.05 sec)

  1. internal/mountinfo/mountinfo_windows.go

    	if v, ok := mountPointCache.Load(path); ok {
    		if b, ok := v.(bool); ok {
    			return b
    		}
    	}
    	wpath, _ := windows.UTF16PtrFromString(path)
    	wvolume := make([]uint16, len(path)+1)
    
    	if err := windows.GetVolumePathName(wpath, &wvolume[0], uint32(len(wvolume))); err != nil {
    		mountPointCache.Store(path, false)
    		return false
    	}
    
    	switch windows.GetDriveType(&wvolume[0]) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top