Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

456 B
Raw Blame
package fs

type cutoffModeChoices struct{}

func (cutoffModeChoices) Choices() []string {
	return []string{
		CutoffModeHard:     "HARD",
		CutoffModeSoft:     "SOFT",
		CutoffModeCautious: "CAUTIOUS",
	}
}

// CutoffMode describes the possible delete modes in the config
type CutoffMode = Enum[cutoffModeChoices]

// CutoffMode constants
const (
	CutoffModeHard CutoffMode = iota
	CutoffModeSoft
	CutoffModeCautious
	CutoffModeDefault = CutoffModeHard
)