fs

package
v0.0.0-...-14cb2aa Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteFileIfExists

func DeleteFileIfExists(path string) error

func IsHidden

func IsHidden(path string) (bool, error)

func ReadStringFileContent

func ReadStringFileContent(path string) (string, error)

func WalkFilesWithExtFilter

func WalkFilesWithExtFilter(path string, extBlacklist []string, extWhitelist []string, skipHidden bool, callback func(path string, info iofs.FileInfo) error) error

func WriteStringToFile

func WriteStringToFile(path string, content string) error

func WriteToFile

func WriteToFile(path string, content []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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