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
..
2026-07-23 15:42:21 +02:00
2026-02-01 10:35:51 +00:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +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
2025-04-09 16:34:38 +00:00
2026-05-26 15:49:31 -07:00
2026-03-31 17:22:18 +00:00
2026-06-08 18:18:58 +00:00
2024-11-11 04:07:54 +08:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-23 08:29:28 +00:00
2026-05-26 15:49:31 -07:00
2026-07-15 17:30:01 +00:00
2026-06-08 18:18:58 +00:00
2026-07-23 14:31:29 +00: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-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-12 17:14:09 +00:00
2026-06-14 15:52:37 +02:00
2026-06-04 00:12:02 +08:00
2026-06-04 00:12:02 +08:00
2026-07-23 14:31:29 +00:00
2026-07-17 18:44:31 +08:00
2026-04-14 14:00:20 +00:00
2026-05-29 01:12:11 +00:00
2026-07-20 16:07:38 +00:00
2026-07-17 22:28:59 +08:00
2026-05-26 15:49:31 -07:00
2026-07-08 23:52:06 +02:00
2026-07-21 13:41:54 +00:00
2026-05-26 15:49:31 -07:00
2026-05-29 01:12:11 +00:00
2026-05-26 15:49:31 -07:00
2026-05-29 01:12:11 +00:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +00:00
2026-06-03 17:40:38 +00:00
2026-07-17 22:28:59 +08:00
2026-07-17 22:28:59 +08: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-28 06:14:52 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-08 23:52:06 +02:00
2026-05-26 15:49:31 -07:00
2026-07-23 01:22:26 +00:00
2026-05-26 15:49:31 -07:00
2025-02-21 00:05:40 +08:00
2026-05-26 15:49:31 -07:00
2026-07-23 14:31:29 +00:00
2026-06-14 18:26:22 +00:00
2026-07-04 22:30:12 +02:00
2026-07-23 14:31:29 +00:00
2026-07-23 14:49:52 +08:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2025-01-21 18:57:07 +00:00
2026-07-23 14:31:29 +00:00
2026-07-20 18:03:28 +00:00
2026-07-22 20:14:18 +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-07-12 11:33:14 +00:00
2026-03-26 00:37:48 +08:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +00:00
2025-01-09 09:21:47 +08:00
2026-07-23 14:31:29 +00:00
2026-05-26 15:49:31 -07:00
2026-07-10 16:39:01 +00:00
2026-02-20 16:12:22 +00:00
2026-06-04 13:38:56 +00:00