MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / next

Method next

src/fs/blk.rs:183–195  ·  view source on GitHub ↗

Next

(&self)

Source from the content-addressed store, hash-verified

181
182 // Next
183 pub fn next(&self) -> Option<Self>
184 {
185 let address = u32::from_be_bytes(self.blk.buffer[0..4].try_into().unwrap());
186
187 if address == 0
188 {
189 None
190 }
191 else
192 {
193 Some(Self::read(address))
194 }
195 }
196
197
198 // Read

Callers 6

print_keypressesFunction · 0.45
parse_csvFunction · 0.45
readMethod · 0.45
writeMethod · 0.45
item_delMethod · 0.45
new_itemMethod · 0.45

Calls 1

readFunction · 0.70

Tested by

no test coverage detected