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.

repo.go 565B

1234567891011121314151617
  1. // Copyright 2019 The Gitea Authors. All rights reserved.
  2. // Copyright 2018 Jonas Franz. All rights reserved.
  3. // SPDX-License-Identifier: MIT
  4. package migration
  5. // Repository defines a standard repository information
  6. type Repository struct {
  7. Name string
  8. Owner string
  9. IsPrivate bool `yaml:"is_private"`
  10. IsMirror bool `yaml:"is_mirror"`
  11. Description string
  12. CloneURL string `yaml:"clone_url"` // SECURITY: This must be checked to ensure that is safe to be used
  13. OriginalURL string `yaml:"original_url"`
  14. DefaultBranch string
  15. }