ioutil

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateDirectory

func CreateDirectory(fs afero.Fs, path string) error

CreateDirectory creates the download path if it does not exist yet.

func FileExists

func FileExists(fs afero.Fs, filePath string) bool

func ReadFile

func ReadFile(fs afero.Fs, filePath string) ([]byte, error)

func WriteFileAtomically

func WriteFileAtomically(fs afero.Fs, filePath string, data io.Reader) (int64, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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