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-06-29 15:10:47 +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-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-20 22:26:22 +02:00
2026-06-20 22:26:22 +02:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-01 12:33:16 +02:00
2026-07-01 12:33:16 +02: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-01 12:33:16 +02:00
2026-07-20 16:07:38 +00:00
2026-04-22 20:58:59 +00:00
2025-06-18 01:48:09 +00:00
2025-10-25 10:54:55 +08:00
2026-05-26 15:49:31 -07:00
2026-03-25 15:53:13 +01:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-20 03:42:02 +00:00
2026-05-26 15:49:31 -07:00
2026-07-23 14:31:29 +00:00
2026-07-23 14:31:29 +00:00
2026-06-08 18:18:58 +00:00
2026-06-08 18:18:58 +00:00
2026-01-09 20:58:21 +02:00
2026-06-13 04:43:25 +00:00
2026-05-26 15:49:31 -07:00
2026-06-08 18:18:58 +00:00
2026-05-30 20:56:16 +00:00
2026-06-29 15:10:47 +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-05-26 15:49:31 -07:00
2026-06-06 17:44:56 +02:00
2026-07-17 22:28:59 +08:00
2026-07-22 18:03:42 +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