Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove unused
  • Loading branch information
sawka committed Mar 20, 2026
commit 65da1bddec31ec8e7736a3043528fca5ffd32e0d
9 changes: 0 additions & 9 deletions pkg/remote/fileshare/wshfs/wshfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,6 @@ func Read(ctx context.Context, data wshrpc.FileData) (*wshrpc.FileData, error) {
return fsutil.ReadStreamToFileData(ctx, rtnCh)
}

func ReadStream(ctx context.Context, data wshrpc.FileData) <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData] {
log.Printf("ReadStream: %v", data.Info.Path)
conn, err := parseConnection(ctx, data.Info.Path)
if err != nil {
return wshutil.SendErrCh[wshrpc.FileData](err)
}
return readStream(conn, data)
}

func readStream(conn *connparse.Connection, data wshrpc.FileData) <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData] {
byteRange := ""
if data.At != nil && data.At.Size > 0 {
Expand Down