go gmt
This commit is contained in:
parent
f8c9b7df52
commit
27b45a1ef5
|
@ -739,26 +739,26 @@ func (r *Repository) RemoveMessage() error {
|
|||
if cErr < 0 {
|
||||
return MakeGitError(cErr)
|
||||
}
|
||||
return nil
|
||||
return nil
|
||||
}
|
||||
|
||||
type RepositoryItem int
|
||||
|
||||
const (
|
||||
RepositoryItemGitDir RepositoryItem = C.GIT_REPOSITORY_ITEM_GITDIR
|
||||
RepositoryItemWorkDir RepositoryItem = C.GIT_REPOSITORY_ITEM_WORKDIR
|
||||
RepositoryItemCommonDir RepositoryItem = C.GIT_REPOSITORY_ITEM_COMMONDIR
|
||||
RepositoryItemIndex RepositoryItem = C.GIT_REPOSITORY_ITEM_INDEX
|
||||
RepositoryItemObjects RepositoryItem = C.GIT_REPOSITORY_ITEM_OBJECTS
|
||||
RepositoryItemRefs RepositoryItem = C.GIT_REPOSITORY_ITEM_REFS
|
||||
RepositoryItemGitDir RepositoryItem = C.GIT_REPOSITORY_ITEM_GITDIR
|
||||
RepositoryItemWorkDir RepositoryItem = C.GIT_REPOSITORY_ITEM_WORKDIR
|
||||
RepositoryItemCommonDir RepositoryItem = C.GIT_REPOSITORY_ITEM_COMMONDIR
|
||||
RepositoryItemIndex RepositoryItem = C.GIT_REPOSITORY_ITEM_INDEX
|
||||
RepositoryItemObjects RepositoryItem = C.GIT_REPOSITORY_ITEM_OBJECTS
|
||||
RepositoryItemRefs RepositoryItem = C.GIT_REPOSITORY_ITEM_REFS
|
||||
RepositoryItemPackedRefs RepositoryItem = C.GIT_REPOSITORY_ITEM_PACKED_REFS
|
||||
RepositoryItemRemotes RepositoryItem = C.GIT_REPOSITORY_ITEM_REMOTES
|
||||
RepositoryItemConfig RepositoryItem = C.GIT_REPOSITORY_ITEM_CONFIG
|
||||
RepositoryItemInfo RepositoryItem = C.GIT_REPOSITORY_ITEM_INFO
|
||||
RepositoryItemHooks RepositoryItem = C.GIT_REPOSITORY_ITEM_HOOKS
|
||||
RepositoryItemLogs RepositoryItem = C.GIT_REPOSITORY_ITEM_LOGS
|
||||
RepositoryItemModules RepositoryItem = C.GIT_REPOSITORY_ITEM_MODULES
|
||||
RepositoryItemWorkTrees RepositoryItem = C.GIT_REPOSITORY_ITEM_WORKTREES
|
||||
RepositoryItemRemotes RepositoryItem = C.GIT_REPOSITORY_ITEM_REMOTES
|
||||
RepositoryItemConfig RepositoryItem = C.GIT_REPOSITORY_ITEM_CONFIG
|
||||
RepositoryItemInfo RepositoryItem = C.GIT_REPOSITORY_ITEM_INFO
|
||||
RepositoryItemHooks RepositoryItem = C.GIT_REPOSITORY_ITEM_HOOKS
|
||||
RepositoryItemLogs RepositoryItem = C.GIT_REPOSITORY_ITEM_LOGS
|
||||
RepositoryItemModules RepositoryItem = C.GIT_REPOSITORY_ITEM_MODULES
|
||||
RepositoryItemWorkTrees RepositoryItem = C.GIT_REPOSITORY_ITEM_WORKTREES
|
||||
)
|
||||
|
||||
func (r *Repository) ItemPath(item RepositoryItem) (string, error) {
|
||||
|
|
Loading…
Reference in New Issue