MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / Write

Method Write

pkg/utils/hash.go:160–164  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

158}
159
160func (m *MultiHasher) Write(p []byte) (n int, err error) {
161 n, err = m.w.Write(p)
162 m.size += int64(n)
163 return n, err
164}
165
166func (m *MultiHasher) GetHashInfo() *HashInfo {
167 dst := make(map[*HashType]string)

Callers 1

HashDataFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected