wxiaoguang
a6450494c3
Fix unclear IsRepositoryExist
logic ( #24374 )
...
There was only one `IsRepositoryExist` function, it did: `has && isDir`
However it's not right, and it would cause 500 error when creating a new
repository if the dir exists.
Then, it was changed to `has || isDir`, it is still incorrect, it
affects the "adopt repo" logic.
To make the logic clear:
* IsRepositoryModelOrDirExist
* IsRepositoryModelExist
2023-04-28 14:14:26 -04:00
..
2023-04-22 16:12:41 -04:00
2023-04-17 14:26:01 -04:00
2022-11-27 18:20:29 +00:00
2023-04-11 14:34:28 +08:00
2023-03-31 22:32:18 +08:00
2023-02-24 18:23:13 +08:00
2023-04-22 17:56:27 -04:00
2023-04-19 21:40:42 +08:00
2023-04-19 21:40:42 +08:00
2023-04-22 17:56:27 -04:00
2023-04-23 11:04:23 -04:00
2023-04-26 10:46:26 -04:00
2023-04-19 19:19:13 -04:00
2023-04-04 16:14:46 +08:00
2023-02-18 20:11:03 +08:00
2023-04-09 22:07:23 +08:00
2022-12-03 10:48:26 +08:00
2023-04-28 14:14:26 -04:00
2022-12-20 17:07:13 +08:00
2023-02-24 18:23:13 +08:00
2023-04-03 16:42:38 +08:00
2023-04-24 05:50:58 -04:00
2023-04-22 17:56:27 -04:00
2023-03-10 08:28:32 -06:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-02-20 00:12:01 +08:00
2022-12-23 19:35:43 +08:00
2022-12-23 19:35:43 +08:00
2022-11-27 18:20:29 +00:00
2023-04-24 15:52:38 -04:00
2022-11-27 18:20:29 +00:00
2022-12-03 10:48:26 +08:00
2023-02-18 20:11:03 +08:00
2022-12-03 10:48:26 +08:00
2022-11-27 18:20:29 +00:00
2022-12-10 10:46:31 +08:00
2023-04-28 14:14:26 -04:00
2023-02-24 18:23:13 +08:00