// GetFileNames gets the complete slice of filenames that are installed by the
// given RPM.
GetFileNames gets the complete slice of filenames that are installed by the
given RPM.
// GetFileNames gets the complete slice of filenames that are installed by the // given RPM .
func GetFileNames(repo *Repo, rpm string) ([]string, error) {
	fs, err := GetFiles(repo, rpm)
	if err != nil {
		return []string{}, err
	}
	fNames := []string{}
	for i := range fs {
		fNames = append(fNames, fs[i].Name)
	}
	return fNames, nil
}
func GetFileNames ( repo * Repo , rpm string ) ( [ ] string , error ) { fs , err := GetFiles ( repo , rpm ) if err != nil { return [ ] string { } , err } fNames := [ ] string { } for i := range fs { fNames = append ( fNames , fs [ i ] . Name ) } return fNames , nil }
GetFileNames gets the complete slice of filenames that are installed by the
given RPM.
GetFileNames gets the complete slice of filenames that are installed by the given RPM .