Documentation
¶
Index ¶
- func CleanPathPrefix(path string) (string, error)
- func GetParentPath(conn *connparse.Connection) string
- func GetParentPathString(hostAndPath string) string
- func GetPathPrefix(conn *connparse.Connection) string
- func PrefixCopyInternal(ctx context.Context, srcConn, destConn *connparse.Connection, ...) error
- func PrefixCopyRemote(ctx context.Context, srcConn, destConn *connparse.Connection, ...) error
- func ReadFileStream(ctx context.Context, readCh <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData], ...) error
- func ReadFileStreamToWriter(ctx context.Context, readCh <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData], ...) error
- func ReadStreamToFileData(ctx context.Context, readCh <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData]) (*wshrpc.FileData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CleanPathPrefix ¶
CleanPathPrefix corrects paths for prefix filesystems (i.e. ones that don't have directories)
func GetParentPath ¶
func GetParentPath(conn *connparse.Connection) string
func GetParentPathString ¶
func GetPathPrefix ¶
func GetPathPrefix(conn *connparse.Connection) string
func PrefixCopyInternal ¶
func PrefixCopyInternal(ctx context.Context, srcConn, destConn *connparse.Connection, c fstype.FileShareClient, opts *wshrpc.FileCopyOpts, listEntriesPrefix func(ctx context.Context, host string, path string) ([]string, error), copyFunc func(ctx context.Context, host string, path string) error) error
func PrefixCopyRemote ¶
func PrefixCopyRemote(ctx context.Context, srcConn, destConn *connparse.Connection, srcClient, destClient fstype.FileShareClient, destPutFile func(host string, path string, size int64, reader io.Reader) error, opts *wshrpc.FileCopyOpts) error
func ReadFileStream ¶
func ReadFileStreamToWriter ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.