Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetWSLWarningMessage ¶
func GetWSLWarningMessage() string
GetWSLWarningMessage returns the warning message for WSL Windows partition usage
func IsOnWindowsPartition ¶
func IsOnWindowsPartition() bool
IsOnWindowsPartition returns true if the current working directory is on a Windows partition This is detected by checking if the path starts with /mnt/ (typical WSL mount point)
func IsOnWindowsPartitionPath ¶
IsOnWindowsPartitionPath returns true if the provided path is on a Windows partition in WSL (typically paths mounted under /mnt/*)
func IsWSL ¶
func IsWSL() bool
IsWSL returns true if the current environment is Windows Subsystem for Linux
func IsWSLWindowsPartition ¶
IsWSLWindowsPartition checks if the user is running on a Windows partition inside WSL Returns true if both conditions are met
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.