utils

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(fs billy.Filesystem, path string) (bool, error)

func ReadFile

func ReadFile(fs billy.Filesystem, path string) ([]byte, error)

func RemoveAll

func RemoveAll(fs billy.Filesystem, path string) error

RemoveAll function to recursively delete directories and files

func WriteFile

func WriteFile(fs billy.Filesystem, filename string, data []byte, perm os.FileMode) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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