time   | Calls   |  line  | 
|---|
 |  |  129   | function f = refinePath(f, fs)
   | 
  0.006   |    1308   |  130  |     persistent singleDotPattern multipleFileSepPattern 
   | 
 |  |  131   |        
   | 
  0.001   |    1308   |  132  |     if isempty(singleDotPattern) 
   | 
 |  |  133   |         singleDotPattern = [fs, '.', fs];
   | 
 |  |  134   |         multipleFileSepPattern = [fs, fs];
   | 
 |  |  135   |     end   
   | 
 |  |  136   |     
   | 
  0.010   |    1308   |  137  |     f = strrep(f, '/', fs); 
   | 
 |  |  138   | 
 
  | 
  0.009   |    1308   |  139  |     if any(contains(f, singleDotPattern)) 
   | 
 |  |  140   |         f = replaceSingleDots(f, fs);
   | 
 |  |  141   |     end
   | 
 |  |  142   | 
 
  | 
  0.005   |    1308   |  143  |     if any(contains(f, multipleFileSepPattern)) 
   | 
 |  |  144   |         f = replaceMultipleFileSeps(f, fs);
   | 
 |  |  145   |     end
   | 
 |  |  146   | 
 
  | 
  0.004   |    1308   |  147  |     if any(contains(f,':')) 
   | 
 |  |  148   |         f = fixIRI(f,fs);
   | 
 |  |  149   |     end
   | 
 |  |  150   |     
   | 
< 0.001   |    1308   |  151  | end 
   | 
Other subfunctions in this file are not included in this listing.