filesystem

package
v0.0.0-...-7641ad8 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Api

func Api() afero.Afero

Api returns the filesystem api

func SetMemMapFs

func SetMemMapFs()

SetMemMapFs sets the filesystem to the memory mapped filesystem Use this if you want to use the filesystem in a sandbox

func SetOsFs

func SetOsFs()

SetOsFs sets the filesystem to the os filesystem

Types

type GacheFs

type GacheFs struct {
}

func (GacheFs) MkdirAll

func (GacheFs) MkdirAll(path string, perm os.FileMode) error

func (GacheFs) OpenFile

func (GacheFs) OpenFile(name string, flag int, perm os.FileMode) (io.ReadWriteCloser, error)

Jump to

Keyboard shortcuts

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