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_refs.go 418B

123456789101112131415161718
  1. // Copyright 2018 The Gitea Authors. All rights reserved.
  2. // SPDX-License-Identifier: MIT
  3. package structs
  4. // Reference represents a Git reference.
  5. type Reference struct {
  6. Ref string `json:"ref"`
  7. URL string `json:"url"`
  8. Object *GitObject `json:"object"`
  9. }
  10. // GitObject represents a Git object.
  11. type GitObject struct {
  12. Type string `json:"type"`
  13. SHA string `json:"sha"`
  14. URL string `json:"url"`
  15. }