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-26 10:46:26 -04:00
2022-11-27 18:20:29 +00:00
2023-04-12 17:05:23 +08:00
2023-02-15 21:37:34 +08:00
2022-12-10 10:46:31 +08:00
2023-01-08 09:34:58 +08:00
2022-12-03 10:48:26 +08:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2022-12-10 10:46:31 +08:00
2022-12-08 10:47:47 +08:00
2022-11-27 18:20:29 +00:00
2022-12-31 12:49:37 +01:00
2022-11-27 18:20:29 +00:00
2022-12-31 12:49:37 +01:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-04-12 17:05:23 +08:00
2022-11-27 18:20:29 +00:00
2023-04-18 21:11:17 +02:00
2023-03-13 11:31:41 +00:00
2023-03-28 13:55:03 -04:00
2023-02-13 14:09:52 +08:00
2023-04-28 14:14:26 -04: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-04-14 15:29:05 -04:00
2023-04-28 14:14:26 -04:00
2022-11-27 18:20:29 +00:00
2022-11-27 18:20:29 +00:00
2023-04-07 08:11:02 +08: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
2022-11-27 18:20:29 +00:00