Method: CodeOwnership.for_team

Defined in:
lib/code_ownership.rb

.for_team(team) ⇒ Object



168
169
170
171
# File 'lib/code_ownership.rb', line 168

def for_team(team)
  team = T.must(CodeTeams.find(team)) if team.is_a?(String)
  ::RustCodeOwners.for_team(team.name)
end