cygpath

package
v3.2.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2022 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UsingCygwinGit = isUsingCygwinGit()

UsingCygwinGit indicates whether we believe the host's git utility is from Cygwin (expects Windows paths as /cygdrive/c/dir/file) or not (expects paths in host-native format).

Functions

func ToSlashCygwin

func ToSlashCygwin(path string) (string, error)

ToSlashCygwin converts a path to a format suitable for sending to a Cygwin binary - `/dir/file` on UNIX-style systems; `c:\dir\file` on Windows without Cygwin; `/cygdrive/c/dir/file` on Windows with Cygwin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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