all files / core/ glob-helper.ts

100% Statements 8/8
100% Branches 0/0
100% Functions 3/3
100% Lines 7/7
1 2 3 4 5 6 7 8 9 10 11 12          
import * as Glob from "glob";
 
export class GlobHelper {
   isGlob(potentialGlob: string): boolean {
      return Glob.hasMagic(potentialGlob);
   }
 
   resolve(glob: string): Array<string> {
      return Glob.sync(glob);
   }
}