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.

19 lines
499 B

  1. // Copyright 2014 The Gogs Authors. All rights reserved.
  2. // Use of this source code is governed by a MIT-style
  3. // license that can be found in the LICENSE file.
  4. package git
  5. // ObjectType git object type
  6. type ObjectType string
  7. const (
  8. // ObjectCommit commit object type
  9. ObjectCommit ObjectType = "commit"
  10. // ObjectTree tree object type
  11. ObjectTree ObjectType = "tree"
  12. // ObjectBlob blob object type
  13. ObjectBlob ObjectType = "blob"
  14. // ObjectTag tag object type
  15. ObjectTag ObjectType = "tag"
  16. )