| commit | 4e30f5236ab68d924e0ee7b39737650945be4ef6 | [log] [tgz] |
|---|---|---|
| author | Travis Cline <travis.cline@gmail.com> | Thu Aug 24 16:24:38 2017 |
| committer | GitHub <noreply@github.com> | Thu Aug 24 16:24:38 2017 |
| tree | e5f10d6d22d8182e2e6c613a044d7e5c1d512925 | |
| parent | 8734282bd23b160cc07954a157106fe59e0f3993 [diff] | |
| parent | b19c60130507af0e134a32e9da3fb70e679459d4 [diff] |
Merge pull request #5 from Dogild/PanicStdinSetAfterStart Fixed: the function copy could panic if the goroutine execution start…
import "github.com/tmc/scp"
Package scp provides a simple interface to copying files over a go.crypto/ssh session.
func Copy(size int64, mode os.FileMode, fileName string, contents io.Reader, destinationPath string, session *ssh.Session) error
func CopyPath(filePath, destinationPath string, session *ssh.Session) error