Skip to content
  • Bruce Flynn's avatar
    Fix IO slowness with interfaces added for testing · a467b74b
    Bruce Flynn authored
    It appears use of the sftpFile struct as a io.WriteCloser was the issue
    causing IO throupught to be half of previous versions. I cannot explain
    exactly why this is the case, but I can speculate that it has something
    to do with proxying the write through Write(buf []byte) which makes a
    copy of the buf slice.
    a467b74b