Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
e783e667
Commit
e783e667
authored
6 years ago
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #14091 from alalek:core_cache_dir_version_update
parents
26087e28
6e90b85c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
filesystem.cpp
modules/core/src/utils/filesystem.cpp
+1
-1
No files found.
modules/core/src/utils/filesystem.cpp
View file @
e783e667
...
...
@@ -495,7 +495,7 @@ cv::String getCacheDirectory(const char* sub_directory_name, const char* configu
if
(
utils
::
fs
::
isDirectory
(
default_cache_path
))
{
cv
::
String
default_cache_path_base
=
utils
::
fs
::
join
(
default_cache_path
,
"opencv"
);
default_cache_path
=
utils
::
fs
::
join
(
default_cache_path_base
,
"4.0"
CV_VERSION_STATUS
);
default_cache_path
=
utils
::
fs
::
join
(
default_cache_path_base
,
CVAUX_STR
(
CV_VERSION_MAJOR
)
"."
CVAUX_STR
(
CV_VERSION_MINOR
)
CV_VERSION_STATUS
);
if
(
utils
::
getConfigurationParameterBool
(
"OPENCV_CACHE_SHOW_CLEANUP_MESSAGE"
,
true
)
&&
!
utils
::
fs
::
isDirectory
(
default_cache_path
))
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment