Skip to content

Commit

Permalink
Merge pull request #4139 from CyberShadow/pull-20160402-075515
Browse files Browse the repository at this point in the history
std.path: Emphasize that isValidPath does not check existence
  • Loading branch information
DmitryOlshansky committed Apr 3, 2016
2 parents 8d9bbc6 + ee2fe28 commit f2849de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions std/path.d
Expand Up @@ -3547,8 +3547,9 @@ unittest
Generally, this function checks that $(D path) is not empty, and that
each component of the path either satisfies $(LREF isValidFilename)
or is equal to $(D ".") or $(D "..").
It does $(I not) check whether the _path points to an existing file
or directory; use $(XREF file,exists) for this purpose.
$(B It does $(I not) check whether the _path points to an existing file
or directory; use $(XREF file,exists) for this purpose.)
On Windows, some special rules apply:
$(UL
Expand Down

0 comments on commit f2849de

Please sign in to comment.