Skip to content

Tracking issue for unix::FileTypeExt #27796

Closed

Description

@alexcrichton

This is a tracking issue for the unstable file_type_ext feature in the standard library.

I think this is basically good to go, it'll likely expand over time but otherwise it's pretty self explanatory.

Activity

  1. added
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    T-libs-api[DEPRECATED; DO NOT USE]
    B-unstableBlocker: Implemented in the nightly compiler and unstable.
    on Aug 13, 2015
  2. alexcrichton commented on Sep 17, 2015

    @alexcrichton
    MemberAuthor

    Nominating for 1.5 resolution

  3. lambda-fairy commented on Sep 19, 2015

    @lambda-fairy
    Contributor

    Since the file types are mutually exclusive, would it be better to return an enum instead?

    Though I think the primary use case would be "is the type of this == X" so the current API would be fine.

  4. SimonSapin commented on Sep 19, 2015

    @SimonSapin
    Contributor

    std::os::unix::fs::FileTypeExt only exists on Unix platforms, and is deliberately a trait (rather than conditionally-compiled inherent methods) so that you have to import it to use it, and see (with the os::unix bit) that you’re using something platform-specific. I don’t know if the same separation would be possible with enum variants.

  5. alexcrichton commented on Sep 24, 2015

    @alexcrichton
    MemberAuthor

    This issue is now entering its cycle-long FCP for stabilization in 1.5

  6. added
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    and removed on Sep 24, 2015
  7. added this to the 1.5 milestone on Oct 1, 2015
  8. removed
    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
    on Oct 2, 2015
  9. alexcrichton commented on Oct 22, 2015

    @alexcrichton
    MemberAuthor

    The libs team discussed this today and the decision was to stabilize.

  10. added a commit that references this issue on Oct 25, 2015
    ff49733
  11. added a commit that references this issue on Oct 25, 2015
    e02ada6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-api[DEPRECATED; DO NOT USE]final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions