MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / create

Method create

lib/imagewriter/imagewriter.cc:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13#include <fstream>
14
15std::unique_ptr<ImageWriter> ImageWriter::create(Config& config)
16{
17 if (!config.hasImageWriter())
18 error("no image writer configured");
19 return create(config->image_writer());
20}
21
22std::unique_ptr<ImageWriter> ImageWriter::create(const ImageWriterProto& config)
23{

Callers

nothing calls this directly

Calls 2

errorFunction · 0.85
hasImageWriterMethod · 0.80

Tested by

no test coverage detected