webdav

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedToCreateDirectory = errors.New("webdav: failed to create directory")
	ErrFailedToWriteFile       = errors.New("webdav: failed to write file")
)

Functions

This section is empty.

Types

type Webdav

type Webdav struct {
	// contains filtered or unexported fields
}

func (*Webdav) Init

func (w *Webdav) Init(cfg config.StorageConfig) error

func (*Webdav) JoinStoragePath added in v0.11.0

func (w *Webdav) JoinStoragePath(task types.Task) string

func (*Webdav) Name added in v0.11.0

func (w *Webdav) Name() string

func (*Webdav) Save

func (w *Webdav) Save(ctx context.Context, filePath, storagePath string) error

func (*Webdav) Type added in v0.11.0

func (w *Webdav) Type() types.StorageType

Jump to

Keyboard shortcuts

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