Skip to content

tagatac/gorecurcopy

 
 

Repository files navigation

gorecurcopy

Build Status GoDoc Go Report Card Version

gorecurcopy copies directories recursively without external dependencies. Compatible with OSX, Linux, and Windows.

This fork improves upon plus3it's version by supplying a mockable interface for easier testing.

Example:

import (
	"github.com/tagatac/gorecurcopy"
)

...
copier := gorecurcopy.NewCopier()
err := copier.CopyDirectory("directory", "new_directory")

About

Recursively copy directories in Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 92.8%
  • Makefile 7.2%