symlink

package
v0.0.0-...-ee69469 Latest Latest
Warning

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

Go to latest
Published: May 5, 2016 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSymlink(path string) (bool, error)

func New

func New(oldname, newname string) error

New is a wrapper function for os.Symlink() on Linux

func Read

func Read(link string) (string, error)

Read is a wrapper for os.Readlink() on Linux

func Replace

func Replace(link, newpath string) error

Replace will do an atomic replacement of a symlink to a new path

Types

This section is empty.

Jump to

Keyboard shortcuts

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