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

Method StoreData

cache/repo_cache_common.go:69–71  ·  view source on GitHub ↗

StoreData will store arbitrary data and return the corresponding hash

(data []byte)

Source from the content-addressed store, hash-verified

67
68// StoreData will store arbitrary data and return the corresponding hash
69func (c *RepoCache) StoreData(data []byte) (repository.Hash, error) {
70 return c.repo.StoreData(data)
71}
72
73// Fetch retrieve updates from a remote
74// This does not change the local bugs or identities state

Callers 1

ServeHTTPMethod · 0.95

Calls 1

StoreDataMethod · 0.65

Tested by

no test coverage detected