prow/plugins/approve/approvers/owners.go
func (o Owners) GetLeafApprovers() map[string]sets.String {
	ownersToApprovers := map[string]sets.String{}

	for fn := range o.GetOwnersSet() {
		ownersToApprovers[fn] = o.repo.LeafApprovers(fn)
	}

	return ownersToApprovers
}
func (o Owners) GetLeafApprovers() map[string]sets.String {
	ownersToApprovers := map[string]sets.String{}

	for fn := range o.GetOwnersSet() {
		ownersToApprovers[fn] = o.repo.LeafApprovers(fn)
	}

	return ownersToApprovers
}
func ( o Owners ) GetLeafApprovers ( ) map [ string ] sets . String { ownersToApprovers := map [ string ] sets . String { } for fn := range o . GetOwnersSet ( ) { ownersToApprovers [ fn ] = o . repo . LeafApprovers ( fn ) } return ownersToApprovers }
// GetLeafApprovers returns a map from ownersFiles -> people that are approvers in them (only the leaf)
GetLeafApprovers returns a map from ownersFiles - > people that are approvers in them ( only the leaf )