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-22 20:54:51 +00:00
2026-07-20 03:17:25 +00:00
2026-07-23 14:31:29 +00:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-22 18:48:39 +00:00
2026-07-21 12:18:00 +00:00
2026-07-21 12:18:00 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-06-18 12:02:11 +00:00
2026-07-20 16:07:38 +00:00
2026-07-22 15:56:29 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-07-09 21:43:08 +00:00
2026-07-15 18:57:44 +02:00
2026-07-20 16:07:38 +00:00
2026-07-23 01:22:26 +00:00
2026-07-20 16:07:38 +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-07-17 18:44:31 +08:00
2026-07-12 17:14:09 +00:00
2026-07-23 14:31:29 +00:00
2026-07-20 16:07:38 +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-05-26 15:49:31 -07:00
2026-07-23 14:31:29 +00:00
2026-07-20 03:42:02 +00:00
2026-07-14 18:24:18 +00:00
2026-05-28 06:14:52 +00:00
2026-07-20 16:07:38 +00:00