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>
This commit is contained in:
parent
e056298ceb
commit
6a5b3811e7
2 changed files with 69 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue