class BagIt::Bag

Represents the state of a bag on a filesystem

Public Instance Methods

bag_files() click to toggle source

Return the paths to each bag file relative to bag_dir

# File lib/dpn/bagit/ext/bagit/bag.rb, line 14
def bag_files
  Dir.glob(File.join(data_dir,'**','*'), File::FNM_DOTMATCH).select { |f| File.file? f}
end