symbolic

package
v0.0.0-...-ab4ff55 Latest Latest
Warning

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

Go to latest
Published: May 25, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidDotfile is returned if the file is not a dotfile i.e. it's a dir or non dot prefixed
	ErrInvalidDotfile = errors.New("not a valid dotfile")
)

Functions

This section is empty.

Types

type DirOperation

type DirOperation struct {
	// contains filtered or unexported fields
}

func NewDirOp

func NewDirOp(log linker.Logger, inDir, outDir string, recursive bool, whitelisted ...string) (*DirOperation, error)
func (o *DirOperation) Link() (int, int, error)

Attempts to create a symbolic Link from the specified operation src and dest paths.

type SymbolicLinkError

type SymbolicLinkError struct {
	// contains filtered or unexported fields
}

func (SymbolicLinkError) Error

func (e SymbolicLinkError) Error() string

func (SymbolicLinkError) Unwrap

func (e SymbolicLinkError) Unwrap() error

Jump to

Keyboard shortcuts

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