MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / swapExtension

Method swapExtension

src/openms/source/FORMAT/FileHandler.cpp:126–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124 }
125
126 String FileHandler::swapExtension(const String& filename, const FileTypes::Type new_type)
127 {
128 return stripExtension(filename) + "." + FileTypes::typeToName(new_type);
129 }
130
131 bool FileHandler::isSupported(FileTypes::Type type)
132 {

Callers 1

addDataFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected