s3webdav

package
v0.6.30 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

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

func New

func New(mgr *s3manager.S3Manager, scope string, memoryUploadMode bool, uploadTmpPath string) *FileSystem

func (*FileSystem) Mkdir

func (f *FileSystem) Mkdir(ctx context.Context, name string, perm os.FileMode) error

func (*FileSystem) OpenFile

func (f *FileSystem) OpenFile(ctx context.Context, name string, flag int, perm os.FileMode) (webdav.File, error)

func (*FileSystem) RemoveAll

func (f *FileSystem) RemoveAll(ctx context.Context, name string) error

func (*FileSystem) Rename

func (f *FileSystem) Rename(ctx context.Context, oldName, newName string) error

func (*FileSystem) Stat

func (f *FileSystem) Stat(ctx context.Context, name string) (os.FileInfo, error)

Jump to

Keyboard shortcuts

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