writers

package
v0.0.40 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileMapWriter

type FileMapWriter struct {
	FileMap map[string][]byte
}

func (*FileMapWriter) EnsureDirectory

func (w *FileMapWriter) EnsureDirectory(path string) error

func (*FileMapWriter) WriteFile

func (w *FileMapWriter) WriteFile(path string, data []byte) error

type LocalFSWriter

type LocalFSWriter struct {
	WriteMode os.FileMode
}

func (*LocalFSWriter) EnsureDirectory

func (w *LocalFSWriter) EnsureDirectory(path string) error

func (*LocalFSWriter) WriteFile

func (w *LocalFSWriter) WriteFile(path string, data []byte) error

Jump to

Keyboard shortcuts

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