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

Method createEncoder

arch/arch.cc:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24#include "arch/arch.h"
25
26std::unique_ptr<Encoder> Arch::createEncoder(Config& config)
27{
28 if (!config.hasEncoder())
29 error("no encoder configured");
30 return createEncoder(config->encoder());
31}
32
33std::unique_ptr<Encoder> Arch::createEncoder(const EncoderProto& config)
34{

Callers

nothing calls this directly

Calls 4

errorFunction · 0.85
hasEncoderMethod · 0.80
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected