@@ -69,34 +69,34 @@ export function matchesModulePathNot(pRule, pModule) {
6969 ) ;
7070}
7171
72- function _toPath ( pRule , pString , pGroups = [ ] ) {
72+ function _matchesToPath ( pRule , pString , pGroups = [ ] ) {
7373 return Boolean (
7474 ! pRule . to . path ||
7575 pString . match ( replaceGroupPlaceholders ( pRule . to . path , pGroups ) ) ,
7676 ) ;
7777}
7878
7979export function matchesToPath ( pRule , pDependency , pGroups ) {
80- return _toPath ( pRule , pDependency . resolved , pGroups ) ;
80+ return _matchesToPath ( pRule , pDependency . resolved , pGroups ) ;
8181}
8282
8383export function matchToModulePath ( pRule , pModule , pGroups ) {
84- return _toPath ( pRule , pModule . source , pGroups ) ;
84+ return _matchesToPath ( pRule , pModule . source , pGroups ) ;
8585}
8686
87- function _toPathNot ( pRule , pString , pGroups = [ ] ) {
87+ function _matchesToPathNot ( pRule , pString , pGroups = [ ] ) {
8888 return (
8989 ! pRule . to . pathNot ||
9090 ! pString . match ( replaceGroupPlaceholders ( pRule . to . pathNot , pGroups ) )
9191 ) ;
9292}
9393
9494export function matchesToPathNot ( pRule , pDependency , pGroups ) {
95- return _toPathNot ( pRule , pDependency . resolved , pGroups ) ;
95+ return _matchesToPathNot ( pRule , pDependency . resolved , pGroups ) ;
9696}
9797
9898export function matchToModulePathNot ( pRule , pModule , pGroups ) {
99- return _toPathNot ( pRule , pModule . source , pGroups ) ;
99+ return _matchesToPathNot ( pRule , pModule . source , pGroups ) ;
100100}
101101
102102export function matchesToDependencyTypes ( pRule , pDependency ) {
0 commit comments