MCPcopy Create free account
hub / github.com/ElementsProject/elements / HashedSourceWriter

Method HashedSourceWriter

src/hash.h:199–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

197
198public:
199 explicit HashedSourceWriter(Source& source LIFETIMEBOUND) : CHashWriter{source.GetType(), source.GetVersion()}, m_source{source} {}
200
201 void write(Span<const std::byte> src)
202 {

Callers

nothing calls this directly

Calls 2

GetTypeMethod · 0.45
GetVersionMethod · 0.45

Tested by

no test coverage detected