dsutil

package module
v0.0.0-...-2a6178e Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2016 License: MIT Imports: 8 Imported by: 3 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

dsutil

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPath

func CheckPath(path string) bool

func CygError

func CygError() error

func FirstLine

func FirstLine(s string) string

func NativePath

func NativePath(path string) string

On windows, passing in a non-trivial absolute posix path (one which starts with /, but is not a under drive letter like /c/...) will panic if 'mount.exe' is not available; i.e. when running with cygwin/msys/git bash/etc not in the path. To gracefully handle, check in advance with dsutil.CygError() != nil

func PosixPath

func PosixPath(path string) string

func SplitLines

func SplitLines(s string, omitEmpty bool) []string

func UserHomeDir

func UserHomeDir() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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