removed unused code

This commit is contained in:
Dave Cheney 2016-06-15 11:33:39 +10:00
parent 4c7551ad7e
commit c5050bbe83
3 changed files with 1 additions and 11 deletions

View File

@ -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

View 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

View File

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