class SimpleBackup::Source::DirStrategy::Bare
Public Instance Methods
get_entries(path)
click to toggle source
# File lib/simple_backup/source/dir_strategy/bare.rb, line 5 def get_entries(path) ::Dir.entries(path).map do |p| if p.match(/^\.\.?$/) nil else ::File.join(path, p) end end.compact end