Skip to content

Conversation

JRF63
Copy link
Contributor

@JRF63 JRF63 commented Sep 21, 2024

Had to modify ftw quite a bit to accommodate the required directory listing order for ls. This PR modified more files than necessary because of the need to add new options to ftw::traverse_directory - I used the struct update syntax to hopefully avoid needing to do it again in the future if more options are added:

        ftw::TraverseDirectoryOpts {
            list_contents_first: true,
            ..Default::default() // Sets the other options to their default values
        },

Also fixed clippy errors on the modified files while I was at it.

@JRF63 JRF63 marked this pull request as draft September 21, 2024 14:04
@JRF63 JRF63 marked this pull request as ready for review September 26, 2024 13:03
@jgarzik jgarzik merged commit 0424b24 into rustcoreutils:main Sep 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants