diff options
author | KWSys Upstream <kwrobot@kitware.com> | 2016-08-03 16:32:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-08-04 14:11:06 (GMT) |
commit | 6c0820a8748e24155d3b7ce6991a90f5a396f524 (patch) | |
tree | a73fc87560b8d3b6c22c7da819ff3a45ef171e69 /SystemTools.hxx.in | |
parent | 3e6ec47c421808123efac2cf67850f8b75839c67 (diff) | |
download | CMake-6c0820a8748e24155d3b7ce6991a90f5a396f524.zip CMake-6c0820a8748e24155d3b7ce6991a90f5a396f524.tar.gz CMake-6c0820a8748e24155d3b7ce6991a90f5a396f524.tar.bz2 |
KWSys 2016-08-03 (6d23dd7e)
Code extracted from:
http://public.kitware.com/KWSys.git
at commit 6d23dd7e455a7b2088c4ec6dce760d8243b84ee6 (master).
Upstream Shortlog
-----------------
Ben Boeckel (1):
6d23dd7e SystemTools: add a PathExists method
Diffstat (limited to 'SystemTools.hxx.in')
-rw-r--r-- | SystemTools.hxx.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SystemTools.hxx.in b/SystemTools.hxx.in index aa1bf1b..28ff0b3 100644 --- a/SystemTools.hxx.in +++ b/SystemTools.hxx.in @@ -306,6 +306,11 @@ public: static std::string ConvertToWindowsOutputPath(const std::string&); /** + * Return true if a path with the given name exists in the current directory. + */ + static bool PathExists(const std::string& path); + + /** * Return true if a file exists in the current directory. * If isFile = true, then make sure the file is a file and * not a directory. If isFile = false, then return true |