pathhelper

package module
v0.0.0-...-e8a2eb8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeletePath

func DeletePath(pathname string) error

DeletePath deletes a path and all its children from disk.

func DesktopPath

func DesktopPath() (string, error)

DesktopPath returns the path to Desktop on a Windows machine.

func HomeDir

func HomeDir() (string, error)

HomeDir calls homedir.Dir() but changes the backslashes with forwardslashes on Windows.

Types

This section is empty.

Jump to

Keyboard shortcuts

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