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

Method sort

atomic-repository/src/archive.rs:538–540  ·  view source on GitHub ↗

Sort entries by path.

(&mut self)

Source from the content-addressed store, hash-verified

536
537 /// Sort entries by path.
538 pub fn sort(&mut self) {
539 self.entries.sort_by(|a, b| a.path.cmp(&b.path));
540 }
541}
542
543impl fmt::Display for ArchiveManifest {

Calls 1

cmpMethod · 0.80