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

Method readFileOnce

Tests/Libraries/Await/AwaitTest.cpp:697–702  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

695
696 co_return Result(true);
697 }
698
699 static AwaitTask readFileOnce(AwaitEventLoop& await, const FileDescriptor& file, Span<char> readBuffer,
700 AwaitFileReadResult& readResult)
701 {
702 SC_CO_TRY(co_await await.fileRead(file, readBuffer, readResult));
703 co_return Result(true);
704 }
705

Callers

nothing calls this directly

Calls 2

fileReadMethod · 0.80
ResultClass · 0.50

Tested by

no test coverage detected