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

Method StoreData

repository/repo.go:146–146  ·  view source on GitHub ↗

StoreData will store arbitrary data and return the corresponding hash

(data []byte)

Source from the content-addressed store, hash-verified

144
145 // StoreData will store arbitrary data and return the corresponding hash
146 StoreData(data []byte) (Hash, error)
147
148 // ReadData will attempt to read arbitrary data from the given hash
149 // Returns ErrNotFound if not found.

Callers 6

StoreDataMethod · 0.65
RepoDataTestFunction · 0.65
RepoDataSignatureTestFunction · 0.65
WriteMethod · 0.65
TestOperationPackFilesFunction · 0.65
WriteMethod · 0.65

Implementers 2

mockRepoDatarepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by 1

TestOperationPackFilesFunction · 0.52