MCPcopy Index your code
hub / github.com/rilldata/rill / IsWSLWindowsPartition

Function IsWSLWindowsPartition

cli/pkg/envdetect/envdetect.go:46–48  ·  view source on GitHub ↗

IsWSLWindowsPartition checks if the user is running on a Windows partition inside WSL Returns true if both conditions are met

(path string)

Source from the content-addressed store, hash-verified

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

Callers 2

StartCmdFunction · 0.92

Calls 2

IsWSLFunction · 0.85
IsOnWindowsPartitionPathFunction · 0.85

Tested by 1