diff options
author | Brad King <brad.king@kitware.com> | 2009-04-21 15:36:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-04-21 15:36:59 (GMT) |
commit | 714d2fc04ba0ba7b455ab30602aef4ebc69ecf1b (patch) | |
tree | 1921cb354af2b2e40060adc8cbeab50e673d1a3e /Source/kwsys/SystemTools.hxx.in | |
parent | 7bb8678fc649457deaac9527b785dbd43ee70928 (diff) | |
download | CMake-714d2fc04ba0ba7b455ab30602aef4ebc69ecf1b.zip CMake-714d2fc04ba0ba7b455ab30602aef4ebc69ecf1b.tar.gz CMake-714d2fc04ba0ba7b455ab30602aef4ebc69ecf1b.tar.bz2 |
ENH: Remove obscure method from KWSys SystemTools
This removes SystemTools::FileExistsInParentDirectories from KWSys since
it is a special-purpose method that is not generally useful.
Diffstat (limited to 'Source/kwsys/SystemTools.hxx.in')
-rw-r--r-- | Source/kwsys/SystemTools.hxx.in | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/kwsys/SystemTools.hxx.in b/Source/kwsys/SystemTools.hxx.in index 07118c2..31a876d 100644 --- a/Source/kwsys/SystemTools.hxx.in +++ b/Source/kwsys/SystemTools.hxx.in @@ -659,14 +659,6 @@ public: const char *dir, kwsys_stl::string& filename_found, int try_filename_dirs = 0); - - /** - * Check if the given file exists in one of the parent directory of the - * given file or directory and if it does, return the name of the file. - * Toplevel specifies the top-most directory to where it will look. - */ - static kwsys_stl::string FileExistsInParentDirectories(const char* fname, - const char* directory, const char* toplevel); /** compute the relative path from local to remote. local must be a directory. remote can be a file or a directory. |