wsl

package
v1.1.318 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2019 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 TrySetClipboard

func TrySetClipboard(text string) error

TrySetClipboard attempts to set the clipboard content if on WSL

Types

This section is empty.

Jump to

Keyboard shortcuts

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