Assuming I want to enforce on some directory (e.g. foobar) on my git repository hosted on GitHub a codeowner. In the CODEOWNERS file I can specify:
foobar
CODEOWNERS