mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-28 18:40:21 +00:00
18 lines
382 B
Go
18 lines
382 B
Go
|
// Copyright 2024 The Forgejo Authors. All rights reserved.
|
||
|
// SPDX-License-Identifier: MIT
|
||
|
|
||
|
package setting
|
||
|
|
||
|
// Quota settings
|
||
|
var Quota = struct {
|
||
|
Enabled bool `ini:"ENABLED"`
|
||
|
DefaultGroups []string `ini:"DEFAULT_GROUPS"`
|
||
|
}{
|
||
|
Enabled: false,
|
||
|
DefaultGroups: []string{},
|
||
|
}
|
||
|
|
||
|
func loadQuotaFrom(rootCfg ConfigProvider) {
|
||
|
mustMapSetting(rootCfg, "quota", &Quota)
|
||
|
}
|