symlink

package
v0.0.0-...-f2468ff Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2014 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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