repo_object.go 350 B

1234567891011121314
  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. type ObjectType string
  6. const (
  7. OBJECT_COMMIT ObjectType = "commit"
  8. OBJECT_TREE ObjectType = "tree"
  9. OBJECT_BLOB ObjectType = "blob"
  10. OBJECT_TAG ObjectType = "tag"
  11. )