sys

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanDir

func CleanDir(dir string) error

CleanDir removes all files from a directory.

func ConvertTilda added in v0.0.12

func ConvertTilda(path string) string

ConvertTilda expands paths with `~/` to an actual home directory.

func FileExists

func FileExists(f string) bool

FileExists checks if a file exists, and that it is a regular file.

func MakeDir

func MakeDir(dir string) error

MakeDir a directory out of a given unless it already exists.

Types

This section is empty.

Jump to

Keyboard shortcuts

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