fs

package
v0.0.0-...-0a2ff85 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSymlink(link string) bool
func MakeHardlink(link string) error

Types

type FakeSymLinker

type FakeSymLinker struct {
	afero.Fs
	TargetFile     string
	CreatedSymlink string
}
func (f *FakeSymLinker) Symlink(target, link string) error

type Filesystem

type Filesystem struct{}

func (Filesystem) Create

func (f Filesystem) Create(path string) (afero.File, error)

func (Filesystem) MkdirAll

func (f Filesystem) MkdirAll(path string, perm os.FileMode) error

func (Filesystem) Open

func (f Filesystem) Open(path string) (afero.File, error)
func (f Filesystem) Symlink(target, link string) error

Jump to

Keyboard shortcuts

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