CodeOwnerResolver: Add method to resolve local owners of an owner config

This simplifies the code in GetCodeOwnersForPathInBranch which is using
CodeOwnerResolver to resolve the local code owners of code owner
configs.

This is important to keep the code in GetCodeOwnersForPathInBranch
readable when follow-up changes add more functionality to this class.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Id1e87103dc430fa3ac4fd12ad6c2f517506c6329
4 files changed
tree: 9c4c5fc3199dcf1fb59f5f62209e1eb8c8d8d29f
  1. java/
  2. javatests/
  3. resources/
  4. .gitreview
  5. BUILD
  6. LICENSE
  7. README.md
README.md

Gerrit Code Review code-owners plugin

This plugin provides support for defining code owners for files in a repository.

If the code-owners plugin is enabled, changes can only be submitted if all touched files are covered by approvals from code owners.

Also see resources/Documentation/about.md