dsgdfsg
public ruby v1 · immutablemodule Find def match_recursive(*paths) matched = [] find(*paths) { |path| matched << path if yield path } return matched end module_function :match_recursive def check_file(file) if File.exist?(file) and not File.symlink?(file) and File.lstat(file).size != 0 if File.split(file)[1] =~ /\A\.\w*\Z/ false elsif File.split(file)[1] =~ /\A.*\.pgp\Z/ true else true end else false end end module_function :check_fileend