backup

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Overview

Package backup verifies streamed backups before marking them complete.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Receive

func Receive(ctx context.Context, client ctl.Client, dir string) (res api.BackupResult, err error)

Receive writes a backup on the caller's machine and marks it only after verification.

func ValidPath

func ValidPath(p string) bool

ValidPath accepts only portable, clean relative backup paths.

Types

This section is empty.

Jump to

Keyboard shortcuts

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