osfs

package module
v3.0.0-...-13448e4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct {
	// contains filtered or unexported fields
}

func NewFS

func NewFS(basePath string) *FS

func (*FS) Exists

func (f *FS) Exists(path string) (ok bool, err error)

func (*FS) Get

func (f *FS) Get(path string) ([]byte, error)

func (*FS) Put

func (f *FS) Put(path string, data []byte) (err error)

Jump to

Keyboard shortcuts

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