Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Require library users to decide on entry order criteria when packing #15

Closed
phrohdoh opened this issue Jan 2, 2018 · 0 comments
Closed

Comments

@phrohdoh
Copy link
Owner

phrohdoh commented Jan 2, 2018

ab256a1 added a TODO that this ticket covers.

The writer module's pack_directory function will want to take in a settings/options/configuration/etc. struct that contains a EntryOrderCriteria enum variant.

pub struct Settings {
    entry_order_criteria: EntryOrderCriteria,
}

pub enum EntryOrderCriteria {
    Length,
    Path,
}
@phrohdoh phrohdoh changed the title Allow library users to decide on entry order criteria when packing Require library users to decide on entry order criteria when packing Jan 3, 2018
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

No branches or pull requests

1 participant