IsWSLWindowsPartition checks if the user is running on a Windows partition inside WSL Returns true if both conditions are met
(path string)
| 44 | // IsWSLWindowsPartition checks if the user is running on a Windows partition inside WSL |
| 45 | // Returns true if both conditions are met |
| 46 | func IsWSLWindowsPartition(path string) bool { |
| 47 | return IsWSL() && IsOnWindowsPartitionPath(path) |
| 48 | } |
| 49 | |
| 50 | // GetWSLWarningMessage returns the warning message for WSL Windows partition usage |
| 51 | func GetWSLWarningMessage() string { |