1
mirror of https://github.com/rclone/rclone synced 2024-12-19 09:05:56 +01:00
rclone/lib
Eng Zer Jun 4f0ddb60e7 refactor: replace strings.Replace with strings.ReplaceAll
strings.ReplaceAll(s, old, new) is a wrapper function for
strings.Replace(s, old, new, -1). But strings.ReplaceAll is more
readable and removes the hardcoded -1.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-05-17 11:08:37 +01:00
..
atexit build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
bucket docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
buildinfo version: report correct friendly-name for windows 10/11 versions after 2004 2022-01-24 21:27:42 +01:00
cache docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
daemonize Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
dircache Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
encoder lib/encoder: add Semicolon encoding 2022-04-21 12:02:27 +01:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errors Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
exitcode cmd: Move exit status codes to separate package 2021-07-07 17:59:26 +01:00
file test: use T.TempDir to create temporary test directory 2022-02-01 11:47:04 +00:00
http Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
israce build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
jwtutil Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
kv Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
mmap Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
oauthutil oauthutil: fix crash when webrowser requests /robots.txt - fixes #5836 2021-11-25 12:12:14 +00:00
pacer pacer: default the Google pacer to a burst of 100 to fix gcs pacing 2022-03-25 15:28:59 +00:00
plugin build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
pool test: Don't run unreliable tests on CI #4171 2020-06-15 21:34:37 +01:00
random Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00
ranges Spelling fixes 2020-10-14 15:21:31 +01:00
readers lib/readers: add FakeSeeker to adapt io.Reader to io.ReadSeeker #5422 2022-05-12 08:49:20 +01:00
rest lib/rest: add support for setting trailers 2022-03-09 12:42:22 +00:00
structs docs: improve grammar and fix typos (#5361) 2021-11-04 12:50:43 +01:00
terminal fs/config, lib/terminal: use golang.org/x/term 2022-04-01 12:48:18 +01:00
version refactor: replace strings.Replace with strings.ReplaceAll 2022-05-17 11:08:37 +01:00