MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / getOffset

Function getOffset

Libraries/Async/Async.h:853–853  ·  view source on GitHub ↗

@brief Returns the last offset set with AsyncFileRead::setOffset

Source from the content-addressed store, hash-verified

851
852 bool isEnded() const { return completionData.endOfFile; }
853
854 SC::Result get(Span<char>& data)
855 {
856 SC_TRY(getAsync().buffer.sliceStartLength(0, completionData.numBytes, data));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected