Repository navigation
diff: compare directories, recursively with -r - #324
Conversation
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
a927245 to
36452d5
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
36452d5 to
ab19b5e
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
ab19b5e to
2cfca73
Compare
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.
Should make test excess-slash pass.
2cfca73 to
7cada7e
Compare
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
5 open issues
operand_positions.contains(position)inside the filter makes this O(n²) in the number of CLI… · Newoperand_positions.contains(position)inside the filter makes this O(n²) in the number of CLI… · New This test depends on an externalmkfifobinary being available on PATH, which can be brittle in… · New Grammar fix: 'files that was distributed' should be 'files that were distributed'. · New This capacity is too small in the worst case (when there are no matching names, the result can be… · New
Review effort: Lite
| // Each argument comes with its position, to tell the operands apart from | ||
| // an option argument with the same value. | ||
| let mut opts = args.iter().cloned().enumerate().peekable(); | ||
| let mut operand_positions = Vec::new(); |
| let options = args | ||
| .into_iter() | ||
| .enumerate() | ||
| .skip(1) | ||
| .filter(|(position, _)| !operand_positions.contains(position)) | ||
| .map(|(_, arg)| arg) | ||
| .collect(); |
| let status = std::process::Command::new("mkfifo") | ||
| .arg(tmp_dir.path().join(dir).join("queue")) | ||
| .status()?; | ||
| assert!(status.success()); |
| // This file is part of the uutils diffutils package. | ||
| // | ||
| // For the full copyright and license information, please view the LICENSE-* | ||
| // files that was distributed with this source code. |
| to_names: &'a [OsString], | ||
| order: impl Fn(&OsStr, &OsStr) -> Ordering, | ||
| ) -> Vec<Entry<'a>> { | ||
| let mut entries = Vec::with_capacity(from_names.len().max(to_names.len())); |
Merging this PR will degrade performance by 8.16%3 warnings
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes |
|
GNU diffutils testsuite comparison: |


Stack created with GitHub Stacks CLI • Give Feedback 💬