wavefs

package
v0.11.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

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) Copy

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

func (WaveClient) Delete

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

func (WaveClient) GetConnectionType

func (c WaveClient) GetConnectionType() string

func (WaveClient) Join

func (c WaveClient) Join(ctx context.Context, conn *connparse.Connection, parts ...string) (string, 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) Move

func (c WaveClient) Move(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 (c WaveClient) ReadTarStream(ctx context.Context, conn *connparse.Connection, opts *wshrpc.FileCopyOpts) <-chan wshrpc.RespOrErrorUnion[[]byte]

func (WaveClient) Stat

Jump to

Keyboard shortcuts

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