file

package
v0.0.0-...-b7a57f2 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src, dst string) error

Copy file to destination TODO: Use io.Copy instead of completely reading, then writing the file to use Go optimizations.

func Exists

func Exists(path string) bool

Exists return true when a file exists, false otherwise.

func IsSymlink(name string) (is bool, err error)

IsSymlink checks if the file is symbolic link If there is an error, it will be of type *os.PathError.

Types

This section is empty.

Jump to

Keyboard shortcuts

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