dirs

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureExists

func EnsureExists(dirPath string)

EnsureExists Ensures that a directory exists, if it doesn't it and all parent directories will be created.

func FilesIn

func FilesIn(dirPath string) []string

FilesIn list full paths of all files in a directory (recursively).

func LegacyUserDirectoryPath added in v0.20.0

func LegacyUserDirectoryPath(subPath string) string

LegacyUserDirectoryPath returns a path to a directory in the user directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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