Skip to content

Tracking Issue for Metadata::from_statx in std::os::linux::fs::MetadataExt #156268

@asder8215

Description

@asder8215

Feature gate: #![feature(metadata_statx)]

This is a tracking issue for adding a constructor that constructs a std::fs::Metadata struct from a *const c_void pointer populated by the statx syscall.

Public API

// use std::os::linux::fs::MetadataExt;

impl MetadataExt for Metadata {
    unsafe fn from_statx(statxbuf: *const c_void) -> Metadata { ... }
}

Note: definition of this function is subject to change.

Steps / History

(Remember to update the S-tracking-* label when checking boxes.)

Unresolved Questions

  • None yet.

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCS-tracking-unimplementedStatus: The feature has not been implemented.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions