This repository has been archived by the owner on Dec 15, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make categorize also return applicable rule tags
Summary: This changes the categorize API to return a tuple of (matched, applicable) so we can distinguish categorization failures from projects without categorization rules defined. To keep the API simple, default tags (unused) were removed, as they make it harder to reason about applicability. Test Plan: Unit Reviewers: jukka Reviewed By: jukka Subscribers: changesbot, wwu Differential Revision: https://tails.corp.dropbox.com/D96384
- Loading branch information
Showing
2 changed files
with
27 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters