]> git.lizzy.rs Git - rust.git/commit
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)
commiteca2453a02548042fcb7082063149367a3343dd7
tree19bab2521e84e2c225d11997c998cbca2fedd0c2
parent5be2b8964c624ee619d2f8518215d3a3b13514e1
parent4a9dd3f8403f84ad518b0119fa2312c379df5dd7
rollup merge of #22208: aturon/expose-more-path

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]
src/libstd/path.rs