copy

package module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 8 Imported by: 0

README

copy-go

Go PkgGoDev

This package provides Copy, Replace, Compare.

Install

go get github.com/haunt98/copy-go

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compare added in v0.6.0

func Compare(src, dst string) error

Compare src with dst return error if src is dir not file

func Copy added in v0.5.0

func Copy(src, dst string) error

Copy src to dst do nothing if src not exist

func Replace added in v0.5.0

func Replace(src, dst string) error

Replace dst with src delete dst first then copy src to dst

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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