Skip to content

Latest commit

 

History

History
78 lines (59 loc) · 2.13 KB

File metadata and controls

78 lines (59 loc) · 2.13 KB
layout default
menu_item api
title PathspecMatchList
description Version 0.26.1
return_to
API Documentation Index
/api/
sections
#diffEntry #entry #entrycount #failedEntry #failedEntrycount
#diffEntry
#entry
#entrycount
#failedEntry
#failedEntrycount

PathspecMatchList#diffEntry SyncExperimental

var diffDelta = pathspecMatchList.diffEntry(pos);

| Parameters | Type | | --- | --- | --- | | pos | Number | The index into the list |

Returns
DiffDelta The filename of the match

PathspecMatchList#entry SyncExperimental

var string = pathspecMatchList.entry(pos);

| Parameters | Type | | --- | --- | --- | | pos | Number | The index into the list |

Returns
String The filename of the match

PathspecMatchList#entrycount SyncExperimental

var result = pathspecMatchList.entrycount();
Returns
Number Number of items in match list

PathspecMatchList#failedEntry SyncExperimental

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 SyncExperimental

var result = pathspecMatchList.failedEntrycount();
Returns
Number Number of items in original pathspec that had no matches