diff options
author | Juan Carlos <juancarlospaco@gmail.com> | 2020-03-07 11:10:22 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-07 14:10:22 +0000 |
commit | 6a5b3811e7c8f0d20e23cf8b57ac28024f2620e3 (patch) | |
tree | c06f92075a319cacb20bbcc03e7377df0fbe1768 /changelog.md | |
parent | e056298ceb0fbddf6190f1b97f415b61323d446c (diff) | |
download | Nim-6a5b3811e7c8f0d20e23cf8b57ac28024f2620e3.tar.gz |
Add isValidFilename (#13561)
* Add os.isValidFilename * Add os.isValidFilename * Peer Review Feedbacks https://github.com/nim-lang/Nim/pull/13561#discussion_r388013139 * Peer Review Feedbacks https://github.com/nim-lang/Nim/pull/13561#issuecomment-595259568 * Add since to const * Update the documentation comment * Update the changelog * Update lib/pure/os.nim Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com> * Update lib/pure/os.nim Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com> * Peer Review Feedbacks, Add more Tests Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
Diffstat (limited to 'changelog.md')
-rw-r--r-- | changelog.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/changelog.md b/changelog.md index 52406a972..38f9589db 100644 --- a/changelog.md +++ b/changelog.md @@ -69,7 +69,7 @@ - Added `minIndex`, `maxIndex` and `unzip` to the `sequtils` module. - Added `os.isRelativeTo` to tell whether a path is relative to another - Added `resetOutputFormatters` to `unittest` - +- Added `os.isValidFilename` that returns `true` if `filename` argument is valid for crossplatform use. - Added a `with` macro for easy function chaining that's available everywhere, there is no need to concern your APIs with returning the first argument |