wsl

package
Version: v1.2.132559162 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsWSL

func IsWSL() bool

IsWSL attempts to determine if we're running on WSL

func TranslateToWindowsPath

func TranslateToWindowsPath(localPath string) (string, error)

TranslateToWindowsPath converts a Linux path under WSL to a Windows-accessible path

func TryLaunchBrowser added in v1.1.441

func TryLaunchBrowser(url string) error

TryLaunchBrowser attempts to launch the browser to the specified URL

func TrySetClipboard

func TrySetClipboard(text string) error

TrySetClipboard attempts to set the clipboard content if on WSL

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL