Documentation
¶
Overview ¶
Package vfstest provides an in-process SFTP-backed vfs.RemoteFS for tests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRemote ¶
NewRemote returns a RemoteFS backed by an in-process SFTP server that serves the local file system. It is meant for tests in other packages.
The server only understands POSIX paths. On Windows a test path such as C:\Users\... is resolved relative to the package directory, so tests would write into the source tree; they are skipped there instead.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.