Closed Bug 1392232 Opened 8 years ago Closed 8 years ago

[compare-locales] refactor compare_locales.paths.ProjectFiles._files to take matcher instead of matcher.prefix

Categories

(Localization Infrastructure and Tools :: compare-locales, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Pike, Assigned: Pike)

References

Details

Attachments

(1 file)

Right now, the ProjectFiles._files method takes a path, which is a tad unfortunate when trying to subclass it for version control systems. On filesystems, this is nice as you can iterate over the dir. But on vcs, you get all paths at once, and one's actually much more interested in a direct filter.
Comment on attachment 8899442 [details] bug 1392232, refactor ProjectFiles._filter from path to Matcher, https://reviewboard.mozilla.org/r/170722/#review175974 Code makes sense and it still works ;-)
Attachment #8899442 - Flags: review?(francesco.lodolo) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: