Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LUX-Core/lux
/ Compact
Method
Compact
src/streams.h:189–193 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
187
}
188
189
inline void Compact()
190
{
191
vch.erase(vch.begin(), vch.begin() + nReadPos);
192
nReadPos = 0;
193
}
194
195
bool Rewind(size_type n)
196
{
Callers
nothing calls this directly
Calls
2
erase
Method · 0.45
begin
Method · 0.45
Tested by
no test coverage detected