rclone/backend/local
nielash fd87560388 local: fix time zones on tests
Before this change, TestMetadata could fail due to a difference between the
user's local time zone and UTC causing the string representation of the date to
be off by one day. This change fixes the issue by comparing both in the Local
time zone.
2025-09-09 12:09:42 -04:00
..
about_unix.go build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
about_windows.go Replace Windows-specific NewLazyDLL with NewLazySystemDLL 2025-01-08 17:35:00 +01:00
clone_darwin.go local: fix --copy-links on macOS when cloning 2024-09-20 17:43:52 +01:00
fadvise_other.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
fadvise_unix.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
lchmod.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
lchmod_unix.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
lchtimes.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
lchtimes_unix.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
lchtimes_windows.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
local.go local: fix rmdir "Access is denied" on windows - fixes #8363 2025-09-09 11:25:09 -04:00
local_internal_test.go local: fix time zones on tests 2025-09-09 12:09:42 -04:00
local_internal_windows_test.go local: fix rmdir "Access is denied" on windows - fixes #8363 2025-09-09 11:25:09 -04:00
local_test.go backend: allow wrapping backend tests to run in make quicktest 2022-06-29 17:30:37 +01:00
metadata.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
metadata_bsd.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
metadata_linux.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
metadata_other.go build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00
metadata_unix.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
metadata_windows.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
read_device_other.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
read_device_unix.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
remove_other.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
remove_test.go Replace deprecated ioutil 2022-11-07 11:41:47 +00:00
remove_windows.go build: fix linting issues reported by golangci-lint on windows 2024-04-22 19:29:12 +02:00
setbtime.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
setbtime_windows.go local: fix permission and ownership on symlinks with --links and --metadata 2024-11-14 16:20:18 +00:00
symlink.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
symlink_other.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
tests_test.go local: refactor default os encoding out from local backend into shared encoder lib 2021-08-19 20:14:50 +02:00
xattr.go build: remove build constraint syntax for go 1.16 and older 2024-04-18 16:53:55 +02:00
xattr_unsupported.go build: fix linting issues reported by running golangci-lint with different GOOS 2024-04-22 19:29:12 +02:00