Lines Matching refs:files

4 and building lists of files.
15 """A list of files built by on exploring the filesystem and filtered by
20 directory from which files will be taken -- only used if
22 files
25 complete list of files under consideration (ie. without any
33 self.files = []
52 self.files.append(item)
55 self.files.extend(items)
59 sortable_files = sorted(map(os.path.split, self.files))
60 self.files = []
62 self.files.append(os.path.join(*sort_tuple))
69 for i in range(len(self.files) - 1, 0, -1):
70 if self.files[i] == self.files[i - 1]:
71 del self.files[i]
119 log.warn("warning: no files found matching '%s'",
126 log.warn(("warning: no previously-included files "
133 log.warn(("warning: no files found matching '%s' "
140 log.warn(("warning: no previously-included files matching "
149 log.warn(("warning: no files found matching '%s' "
158 log.warn(("warning: no previously-included files matching "
181 """Select strings (presumably filenames) from 'self.files' that
201 Selected strings will be added to self.files.
203 Return True if files are found, False otherwise.
218 self.files.append(name)
225 """Remove strings (presumably filenames) from 'files' that match
228 The list 'self.files' is modified in place.
229 Return True if files are found, False otherwise.
235 for i in range(len(self.files)-1, -1, -1):
236 if pattern_re.search(self.files[i]):
237 self.debug_print(" removing " + self.files[i])
238 del self.files[i]
248 Find all files under 'path'
252 for base, dirs, files in os.walk(path, followlinks=True)
253 for file in files
260 Find all files under 'dir' and return the list of full filenames.
263 files = _find_all_simple(dir)
266 files = map(make_rel, files)
267 return list(files)