Lines Matching refs:file
101 def file_matches_path(file: str, path: str) -> bool:
102 # if path is a folder; match any file within
103 if path.endswith('/') and file.startswith(path):
105 return file == path
109 file for file in files_with_aliases
110 if not file_matches_path(file, excluded_path)
114 print('No alias found in any file.')
118 print('\n'.join(f'- {file}' for file in files_with_aliases))