backupstatus

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// EMPTY No backup found
	EMPTY int = iota
	// BACKUPED There is available backup
	BACKUPED
	// OUTDATED Available backup has different version from Spotify version
	OUTDATED
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Status added in v0.8.0

type Status interface {
	IsBackuped() bool
	IsEmpty() bool
	IsOutdated() bool
}

Status .

func Get

func Get(prefsPath, backupPath, backupVersion string) Status

Get returns status of backup folder

Jump to

Keyboard shortcuts

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