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

Method directories

atomic-core/src/output/repo/tree.rs:736–738  ·  view source on GitHub ↗

Get only directories from the result.

(&self)

Source from the content-addressed store, hash-verified

734
735 /// Get only directories from the result.
736 pub fn directories(&self) -> impl Iterator<Item = &TreeItem> {
737 self.items.iter().filter(|item| item.is_directory)
738 }
739
740 /// Sort items by path.
741 pub fn sort_by_path(&mut self) {

Callers 1

Calls 1

iterMethod · 0.45

Tested by 1