reflink

package
v5.34.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LinkOrCopy

func LinkOrCopy(src, dst *os.File) error

LinkOrCopy attempts to reflink the source to the destination fd. If reflinking fails or is unsupported, it falls back to io.Copy().

Types

This section is empty.

Jump to

Keyboard shortcuts

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