files

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	Dir string
}

func NewManager

func NewManager(dir string) Manager

func (Manager) Clean

func (m Manager) Clean(shouldRemove func(name string) bool) error

func (Manager) EnsureDir

func (m Manager) EnsureDir() error

func (Manager) FileExists

func (m Manager) FileExists(name string) bool

func (Manager) ReadFile

func (m Manager) ReadFile(name string) (string, error)

func (Manager) WriteGoFile

func (m Manager) WriteGoFile(name, source string) error

Jump to

Keyboard shortcuts

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