homedir

package
v0.0.0-...-572e296 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsPath

func AbsPath(paths ...string) (string, error)

FullPath joins variadic path inputs and returns a fully qualified filepath based on the user's home directory

func CreateIfNotExists

func CreateIfNotExists(path string, contents []byte) error

func Exists

func Exists(path string) bool

func Home

func Home() (string, error)

Root returns the user's home directory

Types

This section is empty.

Jump to

Keyboard shortcuts

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