Skip to content

Tracking Issue for path_set_times #147455

@joshtriplett

Description

@joshtriplett

Feature gate: #![feature(path_set_times)]

ACP: rust-lang/libs-team#666

This is a tracking issue for the std::fs::set_times and std::fs::set_times_nofollow functions. These functions set the timestamps of a file based on a path rather than an open file descriptor. The latter function sets the timestamps on a symlink rather than the file it links to.

Public API

// std::fs pub fn set_times<P: AsRef<Path>>(&self, path: P, times: FileTimes) -> io::Result<()>; pub fn set_times_nofollow<P: AsRef<Path>>(&self, path: P, times: FileTimes) -> io::Result<()>;

Steps / History

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

  • Implementation: #...
  • Final comment period (FCP)1
  • Stabilization PR

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions