forked from mirror/afero
887ec81f2f
Before, the OpenFile method was unimplemented, and just returned `nil, nil`. Because the Afero.TempFile method calls the OpenFile method, this behavior caused a nil pointer exception when TempFile was used with sftpfs. This commit adds a simple implementation for sftpfs.OpenFile, fixing the exception thrown when using it with TempFile. |
||
---|---|---|
.. | ||
file.go | ||
sftp.go | ||
sftp_test_go |