-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use FastPathBuf on Windows since OsStr::from_encoded_bytes_unchecked …
…is a thing now Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
- Loading branch information
1 parent
c521dca
commit 6a8f671
Showing
2 changed files
with
5 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,5 @@ | ||
#[cfg(unix)] | ||
mod fast_path; | ||
#[cfg(not(unix))] | ||
pub use std::path::PathBuf as FastPathBuf; | ||
|
||
#[cfg(unix)] | ||
pub use fast_path::FastPathBuf; | ||
pub use file_names::*; | ||
|
||
mod fast_path; | ||
mod file_names; | ||
pub use file_names::*; |