files

package
v0.8.18 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package files provides utilities for secure and robust filesystem operations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(ctx context.Context, src, dst string) error

Copy copies a file or directory from src to dst. It tries native Copy-on-Write cloning first, then falls back to hard linking, and finally to recursive copying.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL