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

Method ReadData

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

ReadData will attempt to read arbitrary data from the given hash Returns ErrNotFound if not found.

(hash Hash)

Source from the content-addressed store, hash-verified

148 // ReadData will attempt to read arbitrary data from the given hash
149 // Returns ErrNotFound if not found.
150 ReadData(hash Hash) ([]byte, error)
151
152 // StoreTree will store a mapping key-->Hash as a Git tree
153 StoreTree(mapping []TreeEntry) (Hash, error)

Callers 4

ReadDataMethod · 0.65
RepoDataTestFunction · 0.65
readFunction · 0.65
readOperationPackFunction · 0.65

Implementers 2

mockRepoDatarepository/mock_repo.go
GoGitReporepository/gogit.go

Calls

no outgoing calls

Tested by

no test coverage detected