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

Function mainSeek

src/fe-seek.cc:23–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21extern const std::map<std::string, std::string> readables;
22
23int mainSeek(int argc, const char* argv[])
24{
25 flags.parseFlagsWithConfigFiles(argc, argv, {});
26
27 if (globalConfig()->flux_source().type() != FLUXTYPE_DRIVE)
28 error("this only makes sense with a real disk drive");
29
30 usbSetDrive(globalConfig()->drive().drive(),
31 false,
32 globalConfig()->drive().index_mode());
33 usbSeek(track);
34 return 0;
35}

Callers

nothing calls this directly

Calls 4

errorFunction · 0.85
usbSetDriveFunction · 0.85
usbSeekFunction · 0.85

Tested by

no test coverage detected