def is_js_path(self, path): base = _b(path) m = re.search(r'\.js_path\.json$', base) return m
def get_variable_path(ParserKlass, src_files, bench_name): pretty_base = "{base}.variable.pretty.txt".format(base=_b(src_files.get('profile_path', bench_name))) return _j(_d(src_files.get('profile_path', bench_name)), pretty_base)
def is_overlap_js_path(self, path): base = _b(path) m = re.search(r'\.overlap_js\.json$', base) return m
def is_pdf(path): return re.search(r'.pdf$', _b(path))