|
static function | rmLastPathParts (in pathStr, in nPartsToRemove) |
| RMLASTPATHPARTS removes a specified number of path parts (directory names) starting from the tail. More...
|
|
static function | genPathByRootList (in pathToIncludeCVec, in pathPatternToExclude) |
| GENPATHBYROOTLIST recursively generates a list of path based on a list of root path and a regular expression exclusion pattern. More...
|
|
Definition at line 2 of file PathUtils.m.
◆ genPathByRootList()
static function mxberry::io::PathUtils::genPathByRootList |
( |
in |
pathToIncludeCVec, |
|
|
in |
pathPatternToExclude |
|
) |
| |
|
static |
GENPATHBYROOTLIST recursively generates a list of path based on a list of root path and a regular expression exclusion pattern.
* Input:
* regular:
* pathToIncludeCVec: cell[1,] of char[1,] - list of
* directory names to scan recursively for
* generating a path list
* pathPatternToExclude: char[1,] - regex pattern for
* directory names to exclude (".git|.svn" for instance)
*
* Output:
* pathList: cell[1,] of char[1,] - list of generated
* directory names
*
- Author
- Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om
- Copyright
- 2015-2016 Peter Gagarinov, PhD
2009-2015 Moscow State University
Faculty of Computational Mathematics and Computer Science
System Analysis Department
◆ rmLastPathParts()
static function mxberry::io::PathUtils::rmLastPathParts |
( |
in |
pathStr, |
|
|
in |
nPartsToRemove |
|
) |
| |
|
static |
RMLASTPATHPARTS removes a specified number of path parts (directory names) starting from the tail.
* Input:
* regular:
* pathStr: char[1,] - directory name
* nPartsToRemove: double[1,1] - number of path parts to
* remove
*
* Output:
* pathStr: char[1,] - resulting path
*
- Author
- Peter Gagarinov, PhD pgaga.nosp@m.rino.nosp@m.v@gma.nosp@m.il.c.nosp@m.om
- Copyright
- 2015-2016 Peter Gagarinov, PhD
2009-2015 Moscow State University
Faculty of Computational Mathematics and Computer Science
System Analysis Department
The documentation for this class was generated from the following file: