onedrive

package
v0.0.0-...-880cb89 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AugmentRestorePaths

func AugmentRestorePaths(
	backupVersion int,
	paths []path.RestorePaths,
) ([]path.RestorePaths, error)

Augment restore path to add extra files(meta) needed for restore as well as do any other ordering operations on the paths

Only accepts StoragePath/RestorePath pairs where the RestorePath is at least as long as the StoragePath. If the RestorePath is longer than the StoragePath then the first few (closest to the root) directories will use default permissions during restore.

func IsServiceEnabled

func IsServiceEnabled(
	ctx context.Context,
	gdd getDefaultDriver,
	resource string,
) (bool, error)

func NewBackup

func NewBackup() *oneDriveBackup

NewBackup provides a struct that matches standard apis across m365/service handlers.

func NewOneDriveHandler

func NewOneDriveHandler(
	apiClient api.Client,
	resourceGetter idname.GetResourceIDAndNamer,
) *onedriveHandler

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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