wxiaoguang
e992b0a7cc
refactor: retry file remove/rename when a file is busy and clean up os detection ( #38588 )
...
Rename functions "util.Remove" (remove.go) to "util.RemoveWithRetry"
(file_retry.go) and add comments to clarify their behaviors, also add
tests.
Refactor callers: when no concurrent access (cmd cli, migration, app
init, test), use "os.Xxx" directly.
More details are in `modules/util/file_retry.go`
By the way, clean up OS (windows) detection, make FileURLToPath test
always run
2026-07-23 14:31:29 +00:00
..
2025-10-06 15:01:26 -07:00
2026-07-19 07:32:00 +00:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-07-10 16:39:01 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +00:00
2026-07-12 17:14:09 +00:00
2026-07-23 01:22:26 +00:00
2026-07-23 01:22:26 +00:00
2026-05-26 15:49:31 -07:00
2026-06-28 09:31:35 +00:00
2026-06-28 09:31:35 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-19 07:32:00 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-23 14:31:29 +00:00
2026-07-12 17:14:09 +00:00
2026-07-12 17:14:09 +00:00
2026-05-26 15:49:31 -07:00
2026-06-27 10:24:02 -07:00
2026-07-19 07:32:00 +00:00
2026-07-19 07:32:00 +00:00