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 {

Callers 15

import_ignore_patternsFunction · 0.80
build_graph_first_changeFunction · 0.80
runMethod · 0.80
test_node_ids_are_uniqueFunction · 0.80
diff_snapshotsFunction · 0.80
dependencies_sortedMethod · 0.80
finalizeMethod · 0.80
walk_filesMethod · 0.80
walk_filesMethod · 0.80

Calls 1

cmpMethod · 0.80