class Datafile::Package

Constants

EXCLUDE_RE

exclude pattern

for now exclude all files in directories starting with a dot (e.g. .git/ or .github/ or .build/ etc.)
todo/check: rename to EXCLUDE_DOT_DIRS_RE - why? why not?

Public Class Methods

exclude?( path, pattern: EXCLUDE_RE )
Alias for: match_exclude
match_exclude( path, pattern: EXCLUDE_RE ) click to toggle source
# File lib/sportdb/formats/datafile_package.rb, line 13
def self.match_exclude( path, pattern: EXCLUDE_RE ) pattern.match( path ); end
Also aliased as: match_exclude?, exclude?
match_exclude?( path, pattern: EXCLUDE_RE )
Alias for: match_exclude