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.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Imports
4 packages
Last checked
8 hours ago

Tools for package owners.