PathspecMatchList#diffEntry
var diffDelta = pathspecMatchList.diffEntry(pos);
Parameters | Type | |
---|---|---|
pos | Number | The index into the list |
Returns | |
---|---|
DiffDelta | The filename of the match |
PathspecMatchList#entry
var string = pathspecMatchList.entry(pos);
Parameters | Type | |
---|---|---|
pos | Number | The index into the list |
Returns | |
---|---|
String | The filename of the match |
PathspecMatchList#entrycount
var result = pathspecMatchList.entrycount();
Returns | |
---|---|
Number | Number of items in match list |
PathspecMatchList#failedEntry
var string = pathspecMatchList.failedEntry(pos);
Parameters | Type | |
---|---|---|
pos | Number | The index into the failed items |
Returns | |
---|---|
String | The pathspec pattern that didn’t match anything |
PathspecMatchList#failedEntrycount
var result = pathspecMatchList.failedEntrycount();
Returns | |
---|---|
Number | Number of items in original pathspec that had no matches |