Registry / utility / cespare-cp

cespare-cp

JSON →
library1.1.1gogounverified

Package cp offers simple file and directory copying for Go.

go get github.com/cespare/cp
INSTALL
IMPORT
SIG · CESPARE-CP
C
cespare-cp
utilitygov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cp
github.com/cespare/cp

Copy a file from source to destination.

package main import ( "fmt" "github.com/cespare/cp" ) func main() { err := cp.CopyFile("src.txt", "dst.txt") if err != nil { fmt.Println(err) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
cespare-cp — go get cespare-cp · libregistry