Track and untrack refs

This commit is contained in:
Joscha 2023-08-18 01:03:14 +02:00
parent 4af950b6a4
commit 7e0bf21223
10 changed files with 134 additions and 25 deletions

View file

@ -53,6 +53,14 @@ pub struct PathWorkerByName {
// Admin actions //
///////////////////
#[derive(Deserialize, TypedPath)]
#[typed_path("/admin/refs/track")]
pub struct PathAdminRefsTrack {}
#[derive(Deserialize, TypedPath)]
#[typed_path("/admin/refs/untrack")]
pub struct PathAdminRefsUntrack {}
#[derive(Deserialize, TypedPath)]
#[typed_path("/admin/repo/update")]
pub struct PathAdminRepoUpdate {}