MatrixBerryCore
+mxberry
+dev
+scm
+git
isgit.m
Go to the documentation of this file.
1
function
res=
isgit
(pathStr)
2
persistent mp
3
if
isempty(mp)
4
mp=containers.Map();
5
end
6
if
mp.isKey(pathStr)
7
res=mp(pathStr);
8
else
9
if
nargin==0
10
pathStr=fileparts(mfilename(
'fullpath'
));
11
end
12
res=~strcmp(
mxberry
.
dev
.
scm
.
git
.gitgethash(pathStr),
'unversioned'
);
13
mp(pathStr)=res;
14
end
15
end
mxberry::dev::scm::git
mxberry::dev::scm
mxberry::dev::scm::git::isgit
function isgit(in pathStr)
mxberry
mxberry::dev
Generated for MatrixBerryCore by
1.8.13