MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / path_set

Method path_set

atomic-core/src/record/workflow/collect.rs:286–291  ·  view source on GitHub ↗

Convert to a set of paths for efficient lookup.

(&self)

Source from the content-addressed store, hash-verified

284
285 /// Convert to a set of paths for efficient lookup.
286 pub fn path_set(&self) -> HashSet<&str>
287 where
288 T: HasPath,
289 {
290 self.files.iter().map(|f| f.path()).collect()
291 }
292}
293
294impl<T> Default for CollectionResult<T> {

Callers 1

Calls 3

collectMethod · 0.45
iterMethod · 0.45
pathMethod · 0.45

Tested by 1