backup

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Overview

Package backup implements dedicated helpers for the current backup system.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileCopy

func FileCopy(src, dst string) (err error)

FileCopy copies a source file to destination file.

func PrefixName

func PrefixName(prefix, name string) string

PrefixName builds a new prefixed file name. The file name is in format:

prefix_file.name

If prefix is empty the returned string starts with _.

Types

This section is empty.

Jump to

Keyboard shortcuts

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