Members
combsWithRep
Get combinations with replacment
.Get combinations with replacment
Methods
_checkFileWithModificator(modificator, source, file) → {boolean}
Check if file with modificator exist
.Check if file with modificator exist
Parameters:
Name | Type | Description |
---|---|---|
modificator |
string | modificator name |
source |
string | file base directory |
file |
string | file name |
Returns:
- Type
- boolean
checkFileWithModificator(modificator, source, file) → {boolean}
Check if file with modificator exist (also check folder)
.Check if file with modificator exist (also check folder)
Parameters:
Name | Type | Description |
---|---|---|
modificator |
string | modificator name |
source |
string | file base directory |
file |
string | file name |
Returns:
- Type
- boolean
fileWithModificator(modificator, fieName) → {string}
Get file name with modificator
.Get file name with modificator
Parameters:
Name | Type | Description |
---|---|---|
modificator |
string | modificator name |
fieName |
string | file name |
Returns:
- file with modificator
- Type
- string
fileWithModificator_node10(modificator, fieName) → {string}
Get file name with modificator (version for node 0.10)
.Get file name with modificator (version for node 0.10)
Parameters:
Name | Type | Description |
---|---|---|
modificator |
string | modificator name |
fieName |
string | file name |
Returns:
- file with modificator
- Type
- string
normalizeFilePatch(source, file) → {string}
Normalize file patch for base directory
.Normalize file patch for base directory
Parameters:
Name | Type | Description |
---|---|---|
source |
string | file base directory |
file |
string | file name |
Returns:
- Type
- string