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

Method Directory

lib/vfs/smaky6fs.cc:140–144  ·  view source on GitHub ↗

drStartSector=0 reads the root directory; any other value reads * the sub-directory stored in the first 3 sectors of a DR entry. */

Source from the content-addressed store, hash-verified

138 /* drStartSector=0 reads the root directory; any other value reads
139 * the sub-directory stored in the first 3 sectors of a DR entry. */
140 Directory(Smaky6Filesystem* fs, unsigned drStartSector = 0)
141 {
142 auto bytes = fs->getLogicalSector(drStartSector, 3);
143 parseFrom(bytes, drStartSector);
144 }
145
146 std::shared_ptr<SmakyDirent> findFile(const std::string& filename)
147 {

Callers

nothing calls this directly

Calls 1

getLogicalSectorMethod · 0.80

Tested by

no test coverage detected