mirror of
https://git.mirrors.martin98.com/https://github.com/gulrak/filesystem
synced 2025-06-04 11:13:58 +08:00
Version bump and updated readme.
This commit is contained in:
parent
9970d3354f
commit
3d3c02ce35
23
README.md
23
README.md
@ -5,7 +5,7 @@
|
|||||||
[](https://cirrus-ci.com/github/gulrak/filesystem)
|
[](https://cirrus-ci.com/github/gulrak/filesystem)
|
||||||
[](https://cloud.drone.io/gulrak/filesystem)
|
[](https://cloud.drone.io/gulrak/filesystem)
|
||||||
[](https://coveralls.io/github/gulrak/filesystem?branch=master)
|
[](https://coveralls.io/github/gulrak/filesystem?branch=master)
|
||||||
[](https://github.com/gulrak/filesystem/tree/v1.4.0)
|
[](https://github.com/gulrak/filesystem/tree/v1.5.0)
|
||||||
|
|
||||||
# Filesystem
|
# Filesystem
|
||||||
|
|
||||||
@ -115,10 +115,13 @@ in the standard, and there might be issues in these implementations too.
|
|||||||
|
|
||||||
### Downloads
|
### Downloads
|
||||||
|
|
||||||
The latest release version is [v1.4.0](https://github.com/gulrak/filesystem/tree/v1.4.0) and
|
The latest release version is [v1.5.0](https://github.com/gulrak/filesystem/tree/v1.5.0) and
|
||||||
|
source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.5.0).
|
||||||
|
|
||||||
|
The latest pre-native-backend version is [v1.4.0](https://github.com/gulrak/filesystem/tree/v1.4.0) and
|
||||||
source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.4.0).
|
source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.4.0).
|
||||||
|
|
||||||
The latest pre-C++20 release version is [v1.3.10](https://github.com/gulrak/filesystem/tree/v1.3.10) and
|
The latest pre-C++20-support release version is [v1.3.10](https://github.com/gulrak/filesystem/tree/v1.3.10) and
|
||||||
source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.3.10).
|
source archives can be found [here](https://github.com/gulrak/filesystem/releases/tag/v1.3.10).
|
||||||
|
|
||||||
|
|
||||||
@ -453,11 +456,13 @@ Any additional observations are welcome!
|
|||||||
|
|
||||||
#### fs.path ([ref](https://en.cppreference.com/w/cpp/filesystem/path))
|
#### fs.path ([ref](https://en.cppreference.com/w/cpp/filesystem/path))
|
||||||
|
|
||||||
As the complete inner mechanics of this implementation `fs::path` are working
|
Since v1.5.0 the complete inner mechanics of this implementations `fs::path`
|
||||||
on the generic format, it is the internal representation. So creating any mixed
|
where changed to the _native_ format as the internal representation.
|
||||||
slash `fs::path` object under Windows (e.g. with `"C:\foo/bar"`) will lead to a
|
Creating any mixed slash `fs::path` object under Windows (e.g. with `"C:\foo/bar"`)
|
||||||
unified path with `"C:\foo\bar"` via `native()` and `"C:/foo/bar"` via
|
will lead clean path with `"C:\foo\bar"` via `native()` and `"C:/foo/bar"` via
|
||||||
`generic_string()` API.
|
`generic_string()` API. On all platforms redundant additional separators are
|
||||||
|
removed, even if this is not enforced by the standard and other implementations
|
||||||
|
mostly not do this.
|
||||||
|
|
||||||
Additionally this implementation follows the standards suggestion to handle
|
Additionally this implementation follows the standards suggestion to handle
|
||||||
posix paths of the form `"//host/path"` and USC path on windows also as having
|
posix paths of the form `"//host/path"` and USC path on windows also as having
|
||||||
@ -504,7 +509,7 @@ to the expected behavior.
|
|||||||
|
|
||||||
## Release Notes
|
## Release Notes
|
||||||
|
|
||||||
### v1.5.0 (WIP)
|
### [v1.5.0](https://github.com/gulrak/filesystem/releases/tag/v1.5.0)
|
||||||
|
|
||||||
* Fix for [#91](https://github.com/gulrak/filesystem/issues/91), the way
|
* Fix for [#91](https://github.com/gulrak/filesystem/issues/91), the way
|
||||||
the CMake build options `GHC_FILESYSTEM_BUILD_TESTING`, `GHC_FILESYSTEM_BUILD_EXAMPLES`
|
the CMake build options `GHC_FILESYSTEM_BUILD_TESTING`, `GHC_FILESYSTEM_BUILD_EXAMPLES`
|
||||||
|
@ -245,7 +245,7 @@
|
|||||||
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
||||||
// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)
|
// ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch)
|
||||||
#define GHC_FILESYSTEM_VERSION 10499L
|
#define GHC_FILESYSTEM_VERSION 10500L
|
||||||
|
|
||||||
#if !defined(GHC_WITH_EXCEPTIONS) && (defined(__EXCEPTIONS) || defined(__cpp_exceptions) || defined(_CPPUNWIND))
|
#if !defined(GHC_WITH_EXCEPTIONS) && (defined(__EXCEPTIONS) || defined(__cpp_exceptions) || defined(_CPPUNWIND))
|
||||||
#define GHC_WITH_EXCEPTIONS
|
#define GHC_WITH_EXCEPTIONS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user