bac9f0225d
Expose the repository flags feature over the API, so the flags can be managed by a site administrator without using the web API. Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
9 lines
265 B
Go
9 lines
265 B
Go
// Copyright 2024 The Forgejo Authors c/o Codeberg e.V.. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
package structs
|
|
|
|
// ReplaceFlagsOption options when replacing the flags of a repository
|
|
type ReplaceFlagsOption struct {
|
|
Flags []string `json:"flags"`
|
|
}
|