MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / lowercase_extension

Function lowercase_extension

app/workflow/workflow.cpp:163–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161 throw std::runtime_error(
162 "workflow path inputs expanded from placeholders must be absolute: " + value +
163 " -> " + path.string());
164 }
165 return context.workflow_dir / path;
166}
167
168std::string lowercase_extension(const std::filesystem::path & path) {
169 std::string ext = path.extension().string();
170 std::transform(ext.begin(), ext.end(), ext.begin(), [](unsigned char ch) {
171 return static_cast<char>(std::tolower(ch));
172 });

Callers 3

is_wav_pathFunction · 0.70
read_batch_text_payloadFunction · 0.70
is_text_batch_pathFunction · 0.70

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected