MCPcopy Create free account
hub / github.com/PowerShell/DSC / next

Method next

lib/dsc-lib/src/discovery/mod.rs:238–246  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

236 type Item = DscResource;
237
238 fn next(&mut self) -> Option<Self::Item> {
239 if self.index < self.resources.len() {
240 let resource = self.resources[self.index].clone();
241 self.index += 1;
242 Some(resource)
243 } else {
244 None
245 }
246 }
247}

Callers 6

mainFunction · 0.45
invoke_setFunction · 0.45
invoke_testFunction · 0.45
invokeMethod · 0.45
fix_semverFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected