webdav

package
v0.11.13 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProgressCallback

type ProgressCallback func(writeSize int)

type ReaderWithProgress

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

func NewReaderWithProgress

func NewReaderWithProgress(baseReader io.ReadCloser, callback ProgressCallback) *ReaderWithProgress

func (*ReaderWithProgress) Close

func (r *ReaderWithProgress) Close() error

func (*ReaderWithProgress) Read

func (r *ReaderWithProgress) Read(p []byte) (n int, err error)

type WebDAVClient

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

func NewWebDAVClient

func NewWebDAVClient(filesystem *irodsclient_fs.FileSystem, baseURL string, username string, password string) *WebDAVClient

func (*WebDAVClient) DownloadFile

func (client *WebDAVClient) DownloadFile(sourceEntry *irodsclient_fs.Entry, localPath string, verifyChecksum bool, callback irodsclient_common.TransferTrackerCallback) (*irodsclient_fs.FileTransferResult, error)

func (*WebDAVClient) UploadFile

func (client *WebDAVClient) UploadFile(localPath string, irodsPath string, verifyChecksum bool, callback irodsclient_common.TransferTrackerCallback) (*irodsclient_fs.FileTransferResult, error)

type WriterWithProgress

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

func NewWriterWithProgress

func NewWriterWithProgress(baseWriter io.WriteCloser, callback ProgressCallback) *WriterWithProgress

func (*WriterWithProgress) Close

func (w *WriterWithProgress) Close() error

func (*WriterWithProgress) Write

func (w *WriterWithProgress) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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