Lines Matching defs:dictionary
313 """Return the git configuration as a dictionary.
316 which is a dictionary mapping option name (in lower case) to either "--bool"
442 The return value is a dictionary mapping filename to a list of (start_line,
470 def filter_by_extension(dictionary, allowed_extensions):
471 """Delete every key in `dictionary` that doesn't have an allowed extension.
476 for filename in list(dictionary.keys()):
481 del dictionary[filename]
484 def filter_symlinks(dictionary):
485 """Delete every key in `dictionary` that is a symlink."""
486 for filename in list(dictionary.keys()):
488 del dictionary[filename]
491 def filter_ignored_files(dictionary, binary):
492 """Delete every key in `dictionary` that is ignored by clang-format."""
493 ignored_files = run(binary, "-list-ignored", *dictionary.keys())
498 del dictionary[filename]