MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / parseTrack

Method parseTrack

framework/fs/physfs_archiver_cue.cpp:224–236  ·  view source on GitHub ↗

Parse command while being in a TRACK context

Source from the content-addressed store, hash-verified

222
223 // Parse command while being in a TRACK context
224 bool parseTrack(std::string command, std::string)
225 {
226 UString cmd(command);
227 // TODO: check for possible commands, put parser into an "error" state if command is not
228 // valid
229 if (to_upper(cmd) != "INDEX")
230 {
231 LogInfo("Encountered unexpected/unknown command: \"%s\", ignoring", cmd);
232 return false;
233 }
234 // FIXME: I seriously could not make heads or tails of these indices.
235 return true;
236 }
237
238 bool parse(UString cueFilename)
239 {

Callers

nothing calls this directly

Calls 1

to_upperFunction · 0.85

Tested by

no test coverage detected