Help us shape the future of Go! Take the 2026 Go Developer Survey

backup

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const BackupExtension = ".mptfbackup"
View Source
const NewFileExtension = ".mptfnew"

Variables

This section is empty.

Functions

func BackupFile added in v0.3.0

func BackupFile(file string) error

BackupFile preserves the first version of one selected file.

func BackupFolder

func BackupFolder(dir string) error

func ClearBackup

func ClearBackup(dir string) error

func ClearBackupFile added in v0.3.0

func ClearBackupFile(file string) error

ClearBackupFile removes only the selected file's backup, when present.

func Reset

func Reset(dir string) error

func ResetFile added in v0.3.0

func ResetFile(file string) error

ResetFile restores only the selected file's backup, when present.

Types

This section is empty.

Jump to

Keyboard shortcuts

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