]> git.lizzy.rs Git - rust.git/commitdiff
rollup merge of #22208: aturon/expose-more-path
authorAlex Crichton <alex@alexcrichton.com>
Tue, 17 Feb 2015 23:13:53 +0000 (15:13 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 17 Feb 2015 23:13:53 +0000 (15:13 -0800)
This commit exposes the `is_sep` function and `MAIN_SEP` constant, as
well as Windows path prefixes. The path prefix enum is safely exposed on
all platforms, but it only yielded as a component for Windows.

Exposing the prefix enum as part of prefix components involved changing
the type from `OsStr` to the `Prefix` enum, which is a:

[breaking-change]

1  2 
src/libstd/path.rs

Simple merge