osrename

package
Version: v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2015 License: Apache-2.0, MIT Imports: 1 Imported by: 0

README

go-os-rename

Easily rename files in place. This is needed because Windows errors on rename if a file already exists. Please see this commit, from which the code is extracted: https://github.com/lvarvel/cacheddownloader/commit/505a1fd

Godoc: https://godoc.org/github.com/jbenet/go-os-rename

Author

The original author of this code are "David Morhovich, David Varvel and John Shahid" (see this commit)

License

The code originally comes from https://github.com/lvarvel/cacheddownloader, which is licensed Apache 2.0.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Rename

func Rename(src, dst string) error

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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