osutil

package
v0.12.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(path string) (bool, error)

Exists returns whether the given file or directory exists or not.

func SymlinkWithFallback added in v0.9.0

func SymlinkWithFallback(oldname, newname string) (err error)

SymlinkWithFallback attempts to symlink a file or directory, but falls back to a move operation in the event of the user not having the required privileges to create the symlink.

Types

This section is empty.

Jump to

Keyboard shortcuts

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