pkg

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 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 FileWalker

type FileWalker interface {
	Walk(root string, fn filepath.WalkFunc) error
}

type OS

type OS interface {
	Remove(name string) error
	RemoveAll(path string) error
	Stat(name string) (os.FileInfo, error)
	Symlink(oldname, newname string) error
}

type RealFileWalker

type RealFileWalker struct{}

func (RealFileWalker) Walk

func (RealFileWalker) Walk(root string, fn filepath.WalkFunc) error

type RealOs

type RealOs struct{}

func (RealOs) Remove

func (RealOs) Remove(name string) error

func (RealOs) RemoveAll

func (RealOs) RemoveAll(path string) error

func (RealOs) Stat

func (RealOs) Stat(name string) (os.FileInfo, error)
func (RealOs) Symlink(oldname, newname string) error

Jump to

Keyboard shortcuts

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