Documentation ¶
Index ¶
- 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(sourcePath, destinationPath string) *errbool.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(path, linkName string) *errorwrapper.Wrapper
func CreateUsingSymbolicLink ¶ added in v0.1.3
func CreateUsingSymbolicLink(symLink *pathinsfmt.SymbolicLink) *errorwrapper.Wrapper
func RemoveSymlink ¶
func RemoveSymlink(path string) *errorwrapper.Wrapper
func UnixCreateUsingCmd ¶
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.
Click to show internal directories.
Click to hide internal directories.