albertony
4c488e7517
serve docker: fix incorrect conversion between integer types
2024-08-17 15:03:39 +02:00
Nick Craig-Wood
a28287e96d
vfs: convert vfs options to new style
...
This also
- move in use options (Opt) from vfsflags to vfscommon
- change os.FileMode to vfscommon.FileMode in parameters
- rework vfscommon.FileMode and add tests
2024-07-15 11:09:54 +01:00
Nick Craig-Wood
fc1d8dafd5
vfs: convert time.Duration option to fs.Duration
2024-07-15 11:09:54 +01:00
Nick Craig-Wood
2c57fe9826
cmd/mountlib: convert time.Duration option to fs.Duration
2024-07-15 11:09:54 +01:00
Nick Craig-Wood
8d72698d5a
fs: refactor fs.ConfigMap to take a prefix and Options rather than an fs.RegInfo
...
This is in preparation for generalising the backend config system
2024-07-15 11:09:53 +01:00
logopk
5039f9be48
docker: fix volume plugin does not remount volume on docker restart
...
docker volume plugin restoreState: skip fs option if empty
Fixes #6769
Co-authored-by: Peter Kreuser <logo@kreuser.name>
2023-02-28 11:29:07 +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
e43b5ce5e5
Remove github.com/pkg/errors and replace with std library version
...
This is possible now that we no longer support go1.12 and brings
rclone into line with standard practices in the Go world.
This also removes errors.New and errors.Errorf from lib/errors and
prefers the stdlib errors package over lib/errors.
2021-11-07 11:53:30 +00:00
Ivan Andreev
729704bcb8
serve/docker: fix octal umask
2021-10-07 22:02:27 +03:00
Antoine GIRARD
daf449b5f2
cmd/serve: add serve docker command ( #5415 )
...
Fixes #4750
Co-authored-by: Ivan Andreev <ivandeex@gmail.com>
2021-07-10 23:56:09 +03:00