wavefs

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirMode os.FileMode = 0755 | os.ModeDir
)

Variables

This section is empty.

Functions

This section is empty.

Types

type WaveClient

type WaveClient struct{}

func NewWaveClient

func NewWaveClient() *WaveClient

func (WaveClient) AppendFile

func (c WaveClient) AppendFile(ctx context.Context, conn *connparse.Connection, data wshrpc.FileData) error

func (WaveClient) CopyInternal added in v0.11.1

func (c WaveClient) CopyInternal(ctx context.Context, srcConn, destConn *connparse.Connection, opts *wshrpc.FileCopyOpts) (bool, error)

func (WaveClient) CopyRemote added in v0.11.1

func (c WaveClient) CopyRemote(ctx context.Context, srcConn, destConn *connparse.Connection, srcClient fstype.FileShareClient, opts *wshrpc.FileCopyOpts) (bool, error)

func (WaveClient) Delete

func (c WaveClient) Delete(ctx context.Context, conn *connparse.Connection, recursive bool) error

func (WaveClient) GetCapability added in v0.11.1

func (c WaveClient) GetCapability() wshrpc.FileShareCapability

func (WaveClient) GetConnectionType

func (c WaveClient) GetConnectionType() string

func (WaveClient) Join

func (c WaveClient) Join(ctx context.Context, conn *connparse.Connection, parts ...string) (*wshrpc.FileInfo, error)

func (WaveClient) ListEntries

func (c WaveClient) ListEntries(ctx context.Context, conn *connparse.Connection, opts *wshrpc.FileListOpts) ([]*wshrpc.FileInfo, error)

func (WaveClient) Mkdir

func (c WaveClient) Mkdir(ctx context.Context, conn *connparse.Connection) error

WaveFile does not support directories, only prefix-based listing

func (WaveClient) MoveInternal added in v0.11.1

func (c WaveClient) MoveInternal(ctx context.Context, srcConn, destConn *connparse.Connection, opts *wshrpc.FileCopyOpts) error

func (WaveClient) PutFile

func (c WaveClient) PutFile(ctx context.Context, conn *connparse.Connection, data wshrpc.FileData) error

func (WaveClient) Read

func (WaveClient) ReadStream

func (WaveClient) ReadTarStream

func (WaveClient) Stat

Jump to

Keyboard shortcuts

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