rclone/lib
nielash ff0acfb568 hasher: fix error from trying to stop an already-stopped db
Before this change, Hasher would sometimes try to stop a bolt db that was
already stopped, resulting in an error. This change fixes the issue by checking
first whether the db is already stopped.

https://forum.rclone.org/t/hasher-with-gdrive-backend-does-not-return-sha1-sha256-for-old-files/44680/11?u=nielash
2024-03-09 11:58:02 +00:00
..
atexit lib: use atomic types 2023-08-22 12:52:13 +01:00
batcher dropbox: factor batcher into lib/batcher 2023-10-03 18:01:34 +01:00
bucket bucket: add Join function for a simplified path.Join 2023-03-03 15:51:00 +00:00
buildinfo build: fix new lint errors with golangci-lint v1.55.0 2023-10-20 18:53:30 +01:00
cache lib/cache: add PutErr to put a value with an error into the cache 2024-02-29 16:21:41 +00:00
daemonize mount: notice daemon dying much quicker 2023-12-01 09:36:05 +00:00
debug build: update to go1.21rc3 and make go1.19 the minimum required version 2023-07-16 10:09:25 +01:00
dircache lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
diskusage Add lib/diskusage to measure used/free on disks 2023-09-07 15:57:45 +01:00
encoder Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
env docs: punctuation cleanup 2021-10-20 22:56:19 +02:00
errcount errcount: factor errcount abstraction from operations 2024-02-22 11:13:54 +00:00
errors lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
exitcode --max-transfer - add new exit code (10) 2023-07-18 09:51:31 +01:00
file lib/file: fix MkdirAll after go1.21.4 stdlib update 2023-11-14 09:47:46 +00:00
http rc: add srcFs and dstFs to core/stats and core/transferred stats 2024-02-02 11:43:10 +00:00
israce build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
jwtutil Use jwt-go (golang-jwt) instead of deprecated jws (x/oauth2/jws) 2023-03-26 19:20:50 +02:00
kv hasher: fix error from trying to stop an already-stopped db 2024-03-09 11:58:02 +00:00
mmap build: add package comments to silence revive linter 2022-08-28 13:43:51 +02:00
multipart backends: change OpenChunkWriter interface to allow backend concurrency override 2023-09-03 11:47:05 +01:00
oauthutil oauthutil: avoid panic when *token and *ts.token are the same 2024-01-03 15:15:14 +00:00
pacer amazonclouddrive: remove Amazon Drive backend code and docs #7539 2024-01-04 17:05:54 +00:00
plugin Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
pool lib/pool: add DelayAccounting() to fix accounting when reading hashes 2023-08-24 16:42:09 +01:00
proxy build: fix lint errors when re-enabling revive exported & package-comments 2023-08-29 13:03:13 +01:00
random build: remove random.Seed since random generator is seeded automatically in go1.20 2024-01-15 16:22:07 +00:00
ranges Spelling fixes 2020-10-14 15:21:31 +01:00
readers ftp: fix multi-thread copy 2024-01-03 12:21:08 +00:00
rest lib/rest: remove unnecessary nil check 2023-08-09 19:17:42 +09:00
structs test: do not test deprecated and unused Dial and DialTLS functions on http Transport type 2023-03-26 14:28:15 +02:00
systemd systemd: Fix detection and switch to the coreos package everywhere 2023-12-02 14:17:15 +00:00
terminal lib: fix typos found by codespell 2023-03-24 20:40:52 +00:00
version Fix lint issues reported by staticcheck 2022-06-13 21:13:50 +02:00