package copy

import "cuelang.org/go/internal/copy"

Package copy provides utilities to copy files and directories.

Index

Functions

func Dir

func Dir(src, dst string) error

Dir copies a src directory to its destination.

func File

func File(src, dst string) error

File creates dst and copies the contents src to it.

Source Files

copy.go

Version
v0.6.0
Published
Aug 9, 2023
Platform
js/wasm
Imports
5 packages
Last checked
now

Tools for package owners.