diff options
| author | Carlos Martín Nieto <[email protected]> | 2014-10-28 11:59:04 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2014-10-28 11:59:04 +0100 |
| commit | ccfce74e182a5c588e20f6ed701e0a67e820de8e (patch) | |
| tree | 1f8172827cc8306888d6678ffd8ccd7b09e1b4fa /object.go | |
| parent | 9c6db70fc2836b6f5eb56c505f9cc82461b999c3 (diff) | |
| parent | 668aa5dae1690d1a061da728f83b2450485d47f4 (diff) | |
Merge pull request #129 from libgit2/cmn/const-type
Make the constants have types
Diffstat (limited to 'object.go')
| -rw-r--r-- | object.go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -10,12 +10,12 @@ import "runtime" type ObjectType int const ( - ObjectAny ObjectType = C.GIT_OBJ_ANY - ObjectBad = C.GIT_OBJ_BAD - ObjectCommit = C.GIT_OBJ_COMMIT - ObjectTree = C.GIT_OBJ_TREE - ObjectBlob = C.GIT_OBJ_BLOB - ObjectTag = C.GIT_OBJ_TAG + ObjectAny ObjectType = C.GIT_OBJ_ANY + ObjectBad ObjectType = C.GIT_OBJ_BAD + ObjectCommit ObjectType = C.GIT_OBJ_COMMIT + ObjectTree ObjectType = C.GIT_OBJ_TREE + ObjectBlob ObjectType = C.GIT_OBJ_BLOB + ObjectTag ObjectType = C.GIT_OBJ_TAG ) type Object interface { |
