// File calls AppSource.File on all AppSources and returns on the first match.
//
// Todo: Add priorities in case of multiple matches.
File calls AppSource.File on all AppSources and returns on the first match.

Add priorities in case of multiple matches.
// File calls AppSource . File on all AppSources and returns on the first match . // // Todo : Add priorities in case of multiple matches .
func (as *AppSources) File(appConfig *AppConfig) bool {
	for _, appSource := range *as {
		if appSource.File(appConfig) {
			return true
		}
	}
	return false
}
func ( as * AppSources ) File ( appConfig * AppConfig ) bool { for _ , appSource := range * as { if appSource . File ( appConfig ) { return true } } return false }
File calls AppSource.File on all AppSources and returns on the first match.
File calls AppSource . File on all AppSources and returns on the first match .