utils

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) error

func DirIsEmpty

func DirIsEmpty(path string) (bool, error)

func RemoveEverythingUnder

func RemoveEverythingUnder(path string, skipps ...string) error
RemoveEverythingUnder removes everything under a path.

The top level directory entries whose name matches any "skipps" will be skipped.

Types

This section is empty.

Jump to

Keyboard shortcuts

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