utils

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoICloudDrive is returned when the iCloud Drive folder cannot be found.
	ErrNoICloudDrive = fmt.Errorf("unable to find iCloud Drive")
	// ErrNoDropbox is returned when the Dropbox folder cannot be found.
	ErrNoDropbox = fmt.Errorf("unable to find Dropbox folder")
	// ErrNoOpenCloud is returned when the OpenCloud folder cannot be found.
	ErrNoOpenCloud = fmt.Errorf("unable to find OpenCloud folder")
)

Functions

func DropboxFolder

func DropboxFolder() (string, error)

DropboxFolder is the path to the Dropbox folder.

func ICloudFolder

func ICloudFolder() (string, error)

ICloudFolder is the path to the iCloud Drive folder.

func OpenCloudFolder added in v0.6.0

func OpenCloudFolder() (string, error)

OpenCloudFolder is the path to the OpenCloud folder.

Types

This section is empty.

Jump to

Keyboard shortcuts

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