Nick Craig-Wood
65d1e5d47e
backend: Split backends which use the vfs into a seperate file
...
This is so that the VFS tests can use the backends but not cause an
import loop.
2024-01-03 18:25:17 +00:00
Nick Craig-Wood
6fd9e3d717
build: reformat comments to pass go1.19 vet
...
See: https://go.dev/doc/go1.19#go-doc
2022-08-05 16:35:41 +01:00
Nick Craig-Wood
9d3958bd0b
build: fix formatting after golangci-lint update
2022-08-03 10:11:16 +01:00
albertony
f54641511a
librclone: add support for mount commands
...
Fixes #5661
2022-02-01 19:29:36 +01:00
albertony
b4944f4520
docs/librclone: document that strings are utf8 encoded
2021-11-01 12:39:00 +00:00
albertony
85074f8f88
librclone: add RcloneFreeString function
...
See PR #5703
Based on initial work by Weng Haoyu (@wengh) in PR #5362
2021-10-11 19:10:07 +02:00
Nick Craig-Wood
f646cd0a2a
librclone: add missing sync/* rc methods
...
See: https://forum.rclone.org/t/missing-directory-copy-move-methods-in-librclone/24503
2021-07-20 16:59:02 +01:00
Nick Craig-Wood
ba09ee18bb
librclone: factor into gomobile and internal implementation #4891
...
This was needed because gomobile can't use a main package wheras this
is required to make a normal shared C library.
2021-04-28 16:55:08 +01:00
Nick Craig-Wood
62bf63d36f
librclone: add tests for build and execute them in the actions #4891
2021-04-28 16:55:08 +01:00
Nick Craig-Wood
f38c262471
librclone: change interface for C code and add Mobile interface #4891
...
This changes the interface for the C code to return a struct on the
stack that is defined in the code rather than one which is defined by
the cgo compiler. This is more future proof and inline with the
gomobile interface.
This also adds a gomobile interface RcloneMobileRPC which uses generic
go types conforming to the gobind restrictions.
It also fixes up initialisation errors.
2021-04-28 16:55:08 +01:00
Nick Craig-Wood
5db88fed2b
librclone: exports, errors, docs and examples #4891
...
- rename C exports to be namespaced with Rclone prefix
- fix error handling in RcloneRPC
- add more examples
- add more docs
- add README
- simplify ctest Makefile
2021-04-28 16:55:08 +01:00
lewisxy
316e65589b
librclone: export the rclone RC as a C library #4891
2021-04-28 16:55:08 +01:00