// File takes an AppConfig and sets its File to the matching entry of the
// AppSource if one exists. Returns false if none exists.
File takes an AppConfig and sets its File to the matching entry of the
AppSource if one exists. Returns false if none exists.
// File takes an AppConfig and sets its File to the matching entry of the // AppSource if one exists . Returns false if none exists .
func (as *AppSource) File(appConfig *AppConfig) bool {
	if file, ok := as.Files[appConfig.Name]; ok {
		appConfig.File = &file
		return true
	}
	return false
}
func ( as * AppSource ) File ( appConfig * AppConfig ) bool { if file , ok := as . Files [ appConfig . Name ] ; ok { appConfig . File = & file return true } return false }
File takes an AppConfig and sets its File to the matching entry of the
AppSource if one exists.
File takes an AppConfig and sets its File to the matching entry of the AppSource if one exists .