class Utils::Finder
def attempt_match?(path)
def attempt_match?(path) stat = path.stat stat.symlink? and stat = path.lstat stat.directory? || ascii_file?(stat, path) rescue SystemCallError => e warn "Caught #{e.class}: #{e}" nil end
def attempt_match?(path) stat = path.stat stat.symlink? and stat = path.lstat stat.directory? || ascii_file?(stat, path) rescue SystemCallError => e warn "Caught #{e.class}: #{e}" nil end