files

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: Apache-2.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src string, dest string) error

func Exists

func Exists(path string) (bool, error)

func IsDir

func IsDir(path string) (bool, error)

func IsEmpty added in v0.14.11

func IsEmpty(path string) (bool, error)

func IsExecutable

func IsExecutable(path string) bool

func WriteDataURLToFile added in v0.15.6

func WriteDataURLToFile(url string, destination string) (string, error)

func WriteFile added in v0.15.6

func WriteFile(output []byte, outputPath string) (string, error)

func WriteIfDifferent added in v0.14.0

func WriteIfDifferent(file, content string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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