MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / next

Method next

euralios_std/src/fs.rs:392–397  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

390 type Item = Result<DirEntry, SyscallError>;
391
392 fn next(&mut self) -> Option<Self::Item> {
393 if let Some(entry) = self.entries.pop() {
394 return Some(Ok(entry));
395 }
396 None
397 }
398}
399
400pub fn read_dir<P: AsRef<Path>>(

Callers 2

execFunction · 0.45
openFunction · 0.45

Calls 1

popMethod · 0.80

Tested by

no test coverage detected