filesystem

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSFileReader

type OSFileReader struct{}

OSFileReader reads files from the OS filesystem.

func NewOSFileReader

func NewOSFileReader() *OSFileReader

func (*OSFileReader) Read

func (r *OSFileReader) Read(path string) ([]byte, error)

type OSFileWriter

type OSFileWriter struct{}

OSFileWriter writes files to the OS filesystem.

func NewOSFileWriter

func NewOSFileWriter() *OSFileWriter

func (*OSFileWriter) Write

func (w *OSFileWriter) Write(path string, data []byte) error

Jump to

Keyboard shortcuts

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