gocmdcopy

package
Version: v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package gocmdcopy copies with the given expander from the given directory into the given directory.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNotAbsolute means that the path wasn't absolute as it was supposed to be.
	ErrNotAbsolute = fmt.Errorf("path is not absolute")
)

Functions

func Copy

func Copy(exp *expand.BaseExpander, from string, to string) (err error)

Copy copies from to to. Errors out if to exists already. Expands from and to with the given expander.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL