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

Function markOperationAsExported

bridge/github/export.go:469–479  ·  view source on GitHub ↗
(b *cache.BugCache, target entity.Id, githubID, githubURL string)

Source from the content-addressed store, hash-verified

467}
468
469func markOperationAsExported(b *cache.BugCache, target entity.Id, githubID, githubURL string) error {
470 _, err := b.SetMetadata(
471 target,
472 map[string]string{
473 metaKeyGithubId: githubID,
474 metaKeyGithubUrl: githubURL,
475 },
476 )
477
478 return err
479}
480
481func (ge *githubExporter) cacheGithubLabels(ctx context.Context, gc *rateLimitHandlerClient) error {
482 variables := map[string]interface{}{

Callers 1

exportBugMethod · 0.70

Calls 1

SetMetadataMethod · 0.65

Tested by

no test coverage detected