manager

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendYearLocal

func AppendYearLocal(noYearPath string) (string, error)

func CleanupOld

func CleanupOld(prefix, rmDir string, retentionDays int) error

func DefaultRmDir

func DefaultRmDir() string

func Logf

func Logf(format string, v ...interface{})

func RenameAndUpload

func RenameAndUpload(path, prefix, rmDir string) (string, error)

/ RenameAndUpload renames locally, uploads via rmapi, and returns the name on the device.

func RenameLocal

func RenameLocal(path, prefix string) (string, error)

func RenameLocalNoYear

func RenameLocalNoYear(src, prefix string) (string, error)

func SimpleUpload

func SimpleUpload(path, rmDir string) (string, error)

SimpleUpload calls `rmapi put` and returns the uploaded filename or a detailed error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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