ioutils

package
v0.0.0-...-c48f5bf Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateTempPath

func CreateTempPath(prefix string, appFs afero.Afero) (string, error)

CreateTempPath creates a temp path with the prefix using the Afero FS

func IsExisting

func IsExisting(fs afero.Fs, path string) (bool, error)

IsExisting returns bool whether path exists

func NewFilesystem

func NewFilesystem() afero.Afero

NewFilesystem returns a local filesystem based afero FS implementation.

func NewMemoryFilesystem

func NewMemoryFilesystem() afero.Afero

NewMemoryFilesystem returns an in-memory afero FS implementation.

func NewReadOnlyFs

func NewReadOnlyFs() afero.Afero

NewReadOnlyFs returns a read-only file system

Types

This section is empty.

Jump to

Keyboard shortcuts

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