Discover Packages
github.com/gulp79/bclone
cmd
serve
servetest
package
Version:
v1.73.4-bclone
Opens a new window with list of versions in this module.
Published: Oct 26, 2025
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package servetest provides infrastructure for running loopback
tests of "rclone serve backend:" against the backend integration
tests.
GetEphemeralPort opens a listening port on localhost:0, closes it,
and returns the address as "localhost:port".
Run runs the server then runs the unit tests for the remote against
it.
TestRc tests the rc interface for the servers
in should contain any options necessary however this code will add
"fs", "addr".
StartFn describes the callback which should start the server with
the Fs passed in.
It should return a config for the backend used to connect to the
server and a clean up function
Source Files
¶
Click to show internal directories.
Click to hide internal directories.