Website | Documentation | Download | Contributing | Changelog | Installation | Forum
This is an example of how to have an out of tree backend. You might want to do this before your backend is merged into rclone, or if it isn't suitable for merging (eg uses CGO) or for some other reason.
If you git clone
this repository and build with go build
it will make an executable which is rclone plus an additional backend called ram
. This is a copy of the memory
backend as an example.
This repo depends on rclone (check the go.mod
for the version) and has one copied file from the rclone repo the rclone.go
file where you import your backend.
The same technique will work for additional commands too.
This is free software under the terms of the MIT license (check the COPYING file included in this package).