NAME

File::Corresponding::Group - A group of File::Profile objects

DESCRIPTION

A group of File::Profile objects which define which files belong together.

PROPERTIES

name

Name/description of this File Group. It should describe what's common between the files in the group.

file_profiles

Array ref with File::Profile objects that make up the group.

METHODS

corresponding($file) : ArrayRef[File::Corresponding::File::Found]

Find files corresponding to $file (given the config in ->file_profiles) and return found @$files.

matching_file_fragment_profile($file) : $file_fragment, File::Corresponding::File::Profile | ()

Return two item list with the $file_fragment and first profile that matches $file, or an empty list if there is no match.