-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Open
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
Feature gate: #![feature(dir_entry_ext2)]
This is a tracking issue for a new method on std::fs::DirEntry
on UNIX platforms via a new sealed variant of the std::os::unix::fs::DirEntryExt
trait.
Public API
#[unstable(feature = "dir_entry_ext2")]
pub trait DirEntryExt2: Sealed {
fn file_name_ref(&self) -> &OsStr;
}
Steps / History
- Implementation: Add std::os::unix::fs::DirEntryExt2::file_name_ref(&self) -> &OsStr #83581
- Final commenting period (FCP)
- Stabilization PR
Unresolved Questions
- What is an appropriate name for this new trait?
LeoniePhiline and taotien
Metadata
Metadata
Assignees
Labels
A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`Area: `std::io`, `std::fs`, `std::net` and `std::path`C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.