rclone_out_of_tree_example

command module
v0.0.0-...-198a408 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2025 License: MIT Imports: 5 Imported by: 0

README

rclone logo rclone logo

Website | Documentation | Download | Contributing | Changelog | Installation | Forum

Rclone Out of Tree Example

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.

License

This is free software under the terms of the MIT license (check the COPYING file included in this package).

Documentation

Overview

Sync files and directories to and from local and remote object stores

Nick Craig-Wood <nick@craig-wood.com>

Directories

Path Synopsis
backend
ram
Package ram provides an interface to an in ram object storage system
Package ram provides an interface to an in ram object storage system

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL