rust/src/libstd
Alex Crichton c69f367baf std: Add more accessors for Metadata on Windows
This commit adds accessors for more fields in `fs::Metadata` on Windows
which weren't previously exposed. There's two sources of `fs::Metadata`
on Windows currently, one from `DirEntry` and one from a file itself.
These two sources of information don't actually have the same set of
fields exposed in their stat information, however. To handle this the
platform-specific accessors of Windows-specific information all return
`Option` to return `None` in the case a metadata comes from a
`DirEntry`, but they're guaranteed to return `Some` if it comes from a
file itself.

This is motivated by some changes in CraneStation/wasi-common#42, and
I'm curious how others feel about this platform-specific functionality!
2019-07-26 07:35:59 -07:00
..
collections Test that maplike FromIter satisfies uniqueness 2019-07-16 02:34:00 +00:00
ffi Auto merge of #62610 - Stargateur:fix-miri-error-cstring-into_inner, r=RalfJung 2019-07-14 13:52:40 +00:00
io Rollup merge of #62845 - RalfJung:read, r=rkruppe 2019-07-22 15:32:23 +02:00
net Fix typo in src/libstd/net/udp.rs doc comment 2019-07-18 21:03:56 +02:00
os Rollup merge of #60938 - jonas-schievink:doc-include-paths, r=petrochenkov 2019-07-25 23:20:51 +02:00
prelude Replace SliceConcatExt trait with inherent methods and SliceConcat helper trait 2019-07-05 11:49:30 +02:00
sync Auto merge of #62990 - Centril:rollup-k9n0hvs, r=Centril 2019-07-25 22:34:23 +00:00
sys std: Add more accessors for Metadata on Windows 2019-07-26 07:35:59 -07:00
sys_common add support for hexagon-unknown-linux-musl 2019-07-22 09:44:58 -05:00
tests libstd => 2018 2019-02-28 04:06:15 +09:00
thread Auto merge of #60341 - mtak-:macos-tlv-workaround, r=alexcrichton 2019-06-20 02:36:49 +00:00
alloc.rs Fix intra-doc link resolution failure on re-exporting libstd 2019-05-04 23:48:57 +09:00
ascii.rs Remove licenses 2018-12-25 21:08:33 -07:00
build.rs std: rand: Use BCrypt on UWP 2019-07-25 21:30:08 +02:00
Cargo.toml Update the stdarch submodule 2019-07-15 14:05:28 +02:00
env.rs add support for hexagon-unknown-linux-musl 2019-07-22 09:44:58 -05:00
error.rs implement Error::source for Box<T: Error> 2019-06-17 11:24:09 +03:00
f32.rs Stablize Euclidean Modulo (feature euclidean_division) 2019-07-07 12:16:13 +08:00
f64.rs Stablize Euclidean Modulo (feature euclidean_division) 2019-07-07 12:16:13 +08:00
fs.rs Update libstd doctests to use dyn 2019-05-29 00:57:42 -04:00
future.rs Hide gen_future API from documentation 2019-06-04 19:22:30 +02:00
keyword_docs.rs document that crate refers to the project root 2019-07-11 14:25:53 -04:00
lib.rs Remove uses of mem::uninitialized in std::sys::cloudabi 2019-07-22 20:42:08 -04:00
macros.rs #[rustc_doc_only_macro] -> #[rustc_builtin_macro] 2019-07-06 16:59:08 +03:00
memchr.rs libstd => 2018 2019-02-28 04:06:15 +09:00
num.rs Reexport IntErrorKind in std 2019-04-23 00:15:43 +02:00
panic.rs HashMap is UnwindSafe 2019-07-02 16:01:06 +02:00
panicking.rs Convert more usages over 2019-07-01 20:21:12 -07:00
path.rs Revert "Add implementations of last in terms of next_back on a bunch of DoubleEndedIterators." 2019-05-22 14:09:34 -07:00
primitive_docs.rs word things more like we usually do 2019-07-23 17:51:52 +02:00
process.rs std: Move a process test out of libstd 2019-06-27 07:54:53 -07:00
rt.rs libstd => 2018 2019-02-28 04:06:15 +09:00
time.rs libstd: deny(elided_lifetimes_in_paths) 2019-03-31 12:56:51 +02:00