15 explicit FileSource(std::filesystem::path
const& filename);
17 std::size_t
fetch(
char* buffer, std::size_t amount)
override;
18 std::size_t
size()
override;
Definition file_source.hpp:13
std::size_t size() override
Definition file_source.cpp:18
std::optional< std::size_t > memoizedFileSize_
Definition file_source.hpp:22
std::ifstream reader_
Definition file_source.hpp:21
std::size_t fetch(char *buffer, std::size_t amount) override
Definition file_source.cpp:13
Sublass this source class to provide your own Source. A source provides data to upload to servers.
Definition source.hpp:12
Definition curl_error.hpp:9