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

Method getSector

lib/vfs/vfs.cc:275–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273}
274
275Bytes Filesystem::getSector(unsigned track, unsigned side, unsigned sector)
276{
277 auto s = _sectors->get(track, side, sector);
278 if (!s)
279 throw BadFilesystemException();
280 return s->data;
281}
282
283Bytes Filesystem::getLogicalSector(uint32_t number, uint32_t count)
284{

Callers 1

DirectoryMethod · 0.45

Calls 2

getMethod · 0.45

Tested by

no test coverage detected