mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
ocl: binary program cache
This commit is contained in:
@@ -42,6 +42,8 @@
|
||||
|
||||
#include "precomp.hpp"
|
||||
|
||||
#include "opencv2/core/utils/filesystem.hpp"
|
||||
|
||||
#if defined _WIN32 || defined WINCE
|
||||
# include <windows.h>
|
||||
const char dir_separators[] = "/\\";
|
||||
@@ -169,6 +171,12 @@ static bool isDir(const cv::String& path, DIR* dir)
|
||||
#endif
|
||||
}
|
||||
|
||||
bool cv::utils::fs::isDirectory(const cv::String& path)
|
||||
{
|
||||
CV_INSTRUMENT_REGION()
|
||||
return isDir(path, NULL);
|
||||
}
|
||||
|
||||
static bool wildcmp(const char *string, const char *wild)
|
||||
{
|
||||
// Based on wildcmp written by Jack Handy - <A href="mailto:jakkhandy@hotmail.com">jakkhandy@hotmail.com</A>
|
||||
|
||||
Reference in New Issue
Block a user