You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

item_runtime.go 439B

123456789101112131415
  1. // Copyright 2021 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package system
  4. // RuntimeState contains app state for runtime, and we can save remote version for update checker here in future
  5. type RuntimeState struct {
  6. LastAppPath string `json:"last_app_path"`
  7. LastCustomConf string `json:"last_custom_conf"`
  8. }
  9. // Name returns the item name
  10. func (a RuntimeState) Name() string {
  11. return "runtime-state"
  12. }