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-20 16:07:38 +00:00
2026-07-20 16:07:38 +00:00
2026-07-21 12:18:00 +00:00
2026-07-20 16:07:38 +00: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
2026-05-26 15:49:31 -07: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-05-26 15:49:31 -07:00
2026-06-09 06:12:09 +00:00
2026-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-07-22 20:14:18 +00:00
2026-07-23 14:31:29 +00:00
2026-07-20 18:03:28 +00:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-26 15:49:31 -07: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-05-26 15:49:31 -07:00
2026-05-26 15:49:31 -07:00
2026-07-12 17:14:09 +00:00
2026-07-23 14:31:29 +00:00
2026-05-26 15:49:31 -07:00
2026-07-20 16:07:38 +00:00
2026-05-28 19:29:32 +02:00
2026-07-23 01:22:26 +00:00