1 | module.exports = function (filename, startLineAndColumn, branchIndex){
|
2 | var keyParts = [];
|
3 | keyParts.push(filename);
|
4 |
|
5 | if (startLineAndColumn) {
|
6 | keyParts.push(startLineAndColumn.join(','));
|
7 | }
|
8 |
|
9 | keyParts.push(branchIndex);
|
10 | var wholeKey = keyParts.join('|');
|
11 | return wholeKey;
|
12 | } |
\ | No newline at end of file |