mirror of https://github.com/pkg/sftp.git
removed unused code
This commit is contained in:
parent
4c7551ad7e
commit
c5050bbe83
|
|
@ -1161,10 +1161,6 @@ func TestClientWrite(t *testing.T) {
|
|||
|
||||
// taken from github.com/kr/fs/walk_test.go
|
||||
|
||||
type PathTest struct {
|
||||
path, result string
|
||||
}
|
||||
|
||||
type Node struct {
|
||||
name string
|
||||
entries []*Node // nil if the entry is a file
|
||||
|
|
|
|||
|
|
@ -30,7 +30,6 @@ type Server struct {
|
|||
outMutex sync.Mutex
|
||||
debugStream io.Writer
|
||||
readOnly bool
|
||||
lastID uint32
|
||||
pktChan chan rxPacket
|
||||
openFiles map[string]*os.File
|
||||
openFilesLock sync.RWMutex
|
||||
|
|
|
|||
|
|
@ -1,11 +1,6 @@
|
|||
package sftp
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"testing"
|
||||
)
|
||||
|
||||
var errClientRecvFinished = errors.New("client recv finished")
|
||||
import "testing"
|
||||
|
||||
func clientServerPair(t *testing.T) (*Client, *Server) {
|
||||
c, s := netPipe(t)
|
||||
|
|
|
|||
Loading…
Reference in New Issue