futil

package
v1.12.5 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) bool

func MakeDirs added in v1.10.48

func MakeDirs(dirs []string, perm os.FileMode) error

MakeDirs creates dirs, if they don't exist

func Symlink(source, link string) error

Symlink places the link file, if it doesn't exist or doesn't link to the source file

func WriteFile added in v1.10.48

func WriteFile(name string, data []byte, perm os.FileMode) error

WriteFile is analogous to os.WriteFile, with an explicit call to Sync right after a successful Write operation

Types

This section is empty.

Jump to

Keyboard shortcuts

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