示例#1
0
 def is_js_path(self, path):
     base = _b(path)
     m = re.search(r'\.js_path\.json$', base)
     return m
示例#2
0
 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)
示例#3
0
 def is_overlap_js_path(self, path):
     base = _b(path)
     m = re.search(r'\.overlap_js\.json$', base)
     return m
示例#4
0
def is_pdf(path):
    return re.search(r'.pdf$', _b(path))