MCPcopy Index your code
hub / github.com/git-bug/git-bug / markOperationAsExported

Function markOperationAsExported

bridge/gitlab/export.go:409–419  ·  view source on GitHub ↗
(b *cache.BugCache, target entity.Id, gitlabID, gitlabURL string)

Source from the content-addressed store, hash-verified

407}
408
409func markOperationAsExported(b *cache.BugCache, target entity.Id, gitlabID, gitlabURL string) error {
410 _, err := b.SetMetadata(
411 target,
412 map[string]string{
413 metaKeyGitlabId: gitlabID,
414 metaKeyGitlabUrl: gitlabURL,
415 },
416 )
417
418 return err
419}
420
421// create a gitlab. issue and return it ID
422func createGitlabIssue(ctx context.Context, gc *gitlab.Client, repositoryID, title, body string) (int, int, string, error) {

Callers 1

exportBugMethod · 0.70

Calls 1

SetMetadataMethod · 0.65

Tested by

no test coverage detected