73162ce7ca689cd10f67b823f54d3fbf81e8ee91,doc/source/conf.py,,filtered_files,#Any#Any#,397

Before Change




def filtered_files(base, excludes=()):
    excludes = set(base + "/" + e for e in excludes)
    for root, _dirs, files in os.walk(base):
        for filename in files:
            full = root + "/" + filename

After Change



def filtered_files(base, unfiltered_files_filename):
    with open(unfiltered_files_filename) as f:
        lines = [line.rstrip() for line in f]
    // Skip comments and empty lines to get list of files we DON"T want to
    // filter out; this is definitely complicated
    unfiltered = set(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 73162ce7ca689cd10f67b823f54d3fbf81e8ee91
Time: 2021-02-25
Author: donal.k.fellows@manchester.ac.uk
File Name: doc/source/conf.py
Class Name:
Method Name: filtered_files


Project Name: scipy/scipy
Commit Name: d2435a3d763594a8b124519421c9a8d74db33fca
Time: 2013-10-09
Author: pav@iki.fi
File Name: scipy/optimize/optimize.py
Class Name:
Method Name: show_options


Project Name: tensorflow/tensorboard
Commit Name: 0a3547d8479b66499fb0cb9107273c4f081407f5
Time: 2019-03-01
Author: nfelt@users.noreply.github.com
File Name: tensorboard/backend/event_processing/plugin_asset_util.py
Class Name:
Method Name: ListAssets