symlink

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(path, linkName string) *errorwrapper.Wrapper
func CreateUsingSymbolicLink(symLink *pathinsfmt.SymbolicLink) *errorwrapper.Wrapper
func IsSymLink(path string) *errbool.Result
func RemoveSymlink(path string) *errorwrapper.Wrapper

func UnixCreateUsingCmd

func UnixCreateUsingCmd(sourcePath, destinationPath string) *errbool.Result

Creates symbolicLink of the source at the provided destination path for linux system. If destination doesn't exist it will panic. sourcePath example: "/home/a/test.txt"; destinationPath example: "/home/a/go/test.txt" destination need to have read and write permission for the user.

Types

This section is empty.

Jump to

Keyboard shortcuts

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