This adds `Directory::add` which is a convenience helper for adding nodes into a `Directory` while preserving sorted order. This implements `Ord` and `PartialOrd` for `FileNode`, `SymlinkNode`, and `DirectoryNode` so `binary_search` can be used. Change-Id: I94b86bdef5d0da55aa352e098988b9704cafca19 Reviewed-on: https://cl.tvl.fyi/c/depot/+/11481 Autosubmit: Connor Brewster <cbrewster@hey.com> Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> |
||
|---|---|---|
| .. | ||
| blobservice | ||
| directoryservice | ||
| fs | ||
| proto | ||
| tests | ||
| digests.rs | ||
| errors.rs | ||
| fixtures.rs | ||
| hashing_reader.rs | ||
| import.rs | ||
| lib.rs | ||
| tonic.rs | ||