- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetVolumePathName (0.23 sec)
-
internal/mountinfo/mountinfo_windows.go
path = filepath.Dir(path) if v, ok := mountPointCache.Load(path); ok { return v.(bool) } 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]) {
Go - Registered: Sun Apr 21 19:28:08 GMT 2024 - Last Modified: Thu Aug 19 01:35:22 GMT 2021 - 2K bytes - Viewed (0)