MCPcopy Create free account
hub / github.com/bbc/audiowaveform / getFormatFromFileExtension

Function getFormatFromFileExtension

src/Options.cpp:125–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123//------------------------------------------------------------------------------
124
125static FileFormat::FileFormat getFormatFromFileExtension(
126 const boost::filesystem::path& filename)
127{
128 return FileFormat::fromString(getFileExtension(filename));
129}
130
131//------------------------------------------------------------------------------
132

Callers 1

parseCommandLineMethod · 0.85

Calls 2

fromStringFunction · 0.85
getFileExtensionFunction · 0.85

Tested by

no test coverage detected