Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: version_11
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (14 sloc) 0.467 kb
class Autotest
def find_files
result = {}
Find.find '.' do |f|
Find.prune if @exceptions and f =~ @exceptions and test ?d, f
next if test ?d, f
next if f =~ /(swp|~|rej|orig|flymake)$/ # temporary/patch files
next if f =~ /\/\.?#/ # Emacs autosave/cvs merge files
filename = f.sub(/^\.\//, '')
result[filename] = File.stat(filename).mtime rescue next
end
return result
end
end
Jump to Line
Something went wrong with that request. Please try again.