webdavfilesystem

package
v0.0.0-...-c67da15 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebDAV

type WebDAV struct {
	Host string
	User string
	Pass string
}

WebDAV is the type for the webdavfilesystem file system

func (*WebDAV) Delete

func (w *WebDAV) Delete(itemsToDelete []string) bool

Delete deletes file(s) from the remote file system

func (*WebDAV) Get

func (w *WebDAV) Get(destination string, items ...string) error

Get retrieves file(s) from the remote file system

func (*WebDAV) List

func (w *WebDAV) List(prefix string) ([]filesystems.Listing, error)

List lists files on the remote file system

func (*WebDAV) Put

func (w *WebDAV) Put(fileName, folder string) error

Put attempts to put a file on the remote file system

Jump to

Keyboard shortcuts

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