{"push_id":648408915,"size":3,"distinct_size":0,"ref":"refs/heads/auto","head":"1696dcf237563dd83095cb7fe0e9ba1d21ad90e1","before":"ab83ae5fdd679b9676642bd85f69291b8be69eda","commits":[{"sha":"9348700007c6ac913df97c8e9e1ab7df6f91f130","author":{"email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","name":"Alex Crichton"},"message":"std: Expand the area of std::fs\n\nThis commit is an implementation of [RFC 1044][rfc] which adds additional\nsurface area to the `std::fs` module. All new APIs are `#[unstable]` behind\nassorted feature names for each one.\n\n[rfc]: https://github.com/rust-lang/rfcs/pull/1044\n\nThe new APIs added are:\n\n* `fs::canonicalize` - bindings to `realpath` on unix and\n  `GetFinalPathNameByHandle` on windows.\n* `fs::symlink_metadata` - similar to `lstat` on unix\n* `fs::FileType` and accessor methods as `is_{file,dir,symlink}`\n* `fs::Metadata::file_type` - accessor for the raw file type\n* `fs::DirEntry::metadata` - acquisition of metadata which is free on Windows\n  but requires a syscall on unix.\n* `fs::DirEntry::file_type` - access the file type which may not require a\n  syscall on most platforms.\n* `fs::DirEntry::file_name` - access just the file name without leading\n  components.\n* `fs::PathExt::symlink_metadata` - convenience method for the top-level\n  function.\n* `fs::PathExt::canonicalize` - convenience method for the top-level\n  function.\n* `fs::PathExt::read_link` - convenience method for the top-level\n  function.\n* `fs::PathExt::read_dir` - convenience method for the top-level\n  function.\n* `std::os::raw` - type definitions for raw OS/C types available on all\n  platforms.\n* `std::os::$platform` - new modules have been added for all currently supported\n  platforms (e.g. those more specific than just `unix`).\n* `std::os::$platform::raw` - platform-specific type definitions. These modules\n  are populated with the bare essentials necessary for lowing I/O types into\n  their raw representations, and currently largely consist of the `stat`\n  definition for unix platforms.\n\nThis commit also deprecates `Metadata::{modified, accessed}` in favor of\ninspecting the raw representations via the lowering methods of `Metadata`.","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/9348700007c6ac913df97c8e9e1ab7df6f91f130"},{"sha":"0368abb0a420620c65c9662dcd4322c0276c209e","author":{"email":"60c6d277a8bd81de7fdde19201bf9c58a3df08f4@alexcrichton.com","name":"Alex Crichton"},"message":"std: Implement fs::DirBuilder\n\nThis is the last remaining portion of #24796","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/0368abb0a420620c65c9662dcd4322c0276c209e"},{"sha":"1696dcf237563dd83095cb7fe0e9ba1d21ad90e1","author":{"email":"3a2c29237f73c7cf88424b80e427b1884f346b35@rust-lang.org","name":"bors"},"message":"Auto merge of #24711 - alexcrichton:fs2.1, r=alexcrichton\n\nThis commit is an implementation of [RFC 1044][rfc] which adds additional\r\nsurface area to the `std::fs` module. All new APIs are `#[unstable]` behind\r\nassorted feature names for each one.\r\n\r\n[rfc]: https://github.com/rust-lang/rfcs/pull/1044\r\n\r\nThe new APIs added are:\r\n\r\n* `fs::canonicalize` - bindings to `realpath` on unix and\r\n  `GetFinalPathNameByHandle` on windows.\r\n* `fs::symlink_metadata` - similar to `lstat` on unix\r\n* `fs::FileType` and accessor methods as `is_{file,dir,symlink}`\r\n* `fs::Metadata::file_type` - accessor for the raw file type\r\n* `fs::DirEntry::metadata` - acquisition of metadata which is free on Windows\r\n  but requires a syscall on unix.\r\n* `fs::DirEntry::file_type` - access the file type which may not require a\r\n  syscall on most platforms.\r\n* `fs::DirEntry::file_name` - access just the file name without leading\r\n  components.\r\n* `fs::PathExt::symlink_metadata` - convenience method for the top-level\r\n  function.\r\n* `fs::PathExt::canonicalize` - convenience method for the top-level\r\n  function.\r\n* `fs::PathExt::read_link` - convenience method for the top-level\r\n  function.\r\n* `fs::PathExt::read_dir` - convenience method for the top-level\r\n  function.\r\n* `std::os::raw` - type definitions for raw OS/C types available on all\r\n  platforms.\r\n* `std::os::$platform` - new modules have been added for all currently supported\r\n  platforms (e.g. those more specific than just `unix`).\r\n* `std::os::$platform::raw` - platform-specific type definitions. These modules\r\n  are populated with the bare essentials necessary for lowing I/O types into\r\n  their raw representations, and currently largely consist of the `stat`\r\n  definition for unix platforms.\r\n\r\nThis commit also deprecates `Metadata::{modified, accessed}` in favor of\r\ninspecting the raw representations via the lowering methods of `Metadata`.\r\n\r\nCloses https://github.com/rust-lang/rust/issues/24796","distinct":false,"url":"https://api.github.com/repos/rust-lang/rust/commits/1696dcf237563dd83095cb7fe0e9ba1d21ad90e1"}]}