Skip to content

Commit 65da1bd

Browse files
committed
remove unused
1 parent 09cf58e commit 65da1bd

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

pkg/remote/fileshare/wshfs/wshfs.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,6 @@ func Read(ctx context.Context, data wshrpc.FileData) (*wshrpc.FileData, error) {
5050
return fsutil.ReadStreamToFileData(ctx, rtnCh)
5151
}
5252

53-
func ReadStream(ctx context.Context, data wshrpc.FileData) <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData] {
54-
log.Printf("ReadStream: %v", data.Info.Path)
55-
conn, err := parseConnection(ctx, data.Info.Path)
56-
if err != nil {
57-
return wshutil.SendErrCh[wshrpc.FileData](err)
58-
}
59-
return readStream(conn, data)
60-
}
61-
6253
func readStream(conn *connparse.Connection, data wshrpc.FileData) <-chan wshrpc.RespOrErrorUnion[wshrpc.FileData] {
6354
byteRange := ""
6455
if data.At != nil && data.At.Size > 0 {

0 commit comments

Comments
 (0)