File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -182,6 +182,10 @@ const win32 = {
182182 throw new Error ( 'path.win32.parse() is not implemented.' ) ;
183183 } ,
184184
185+ matchesGlob ( _path : string , _pattern : string ) : boolean {
186+ throw new Error ( 'path.win32.matchesGlob() is not implemented.' ) ;
187+ } ,
188+
185189 sep : '\\' ,
186190 delimiter : ';' ,
187191 win32 : null as Object | null ,
@@ -627,6 +631,10 @@ const posix = {
627631 return ret ;
628632 } ,
629633
634+ matchesGlob ( _path : string , _pattern : string ) : boolean {
635+ throw new Error ( 'path.posix.matchesGlob() is not implemented.' ) ;
636+ } ,
637+
630638 sep : '/' ,
631639 delimiter : ':' ,
632640 win32 : null as Object | null ,
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ const {
2424 parse,
2525 sep,
2626 delimiter,
27+ matchesGlob,
2728} = posix ;
2829
2930export {
@@ -42,6 +43,7 @@ export {
4243 delimiter ,
4344 posix ,
4445 win32 ,
46+ matchesGlob ,
4547} ;
4648
4749export { default } from 'node-internal:internal_path' ;
You can’t perform that action at this time.
0 commit comments