Page MenuHomePhabricator

Allow `FileFinder` to find paths which match a given path exactly.
ClosedPublic

Authored by joshuaspence on May 25 2014, 10:10 PM.
Tags
None
Referenced Files
F13166132: D9295.diff
Tue, May 7, 5:54 AM
Unknown Object (File)
Fri, May 3, 2:28 PM
Unknown Object (File)
Fri, May 3, 4:35 AM
Unknown Object (File)
Mon, Apr 29, 3:41 PM
Unknown Object (File)
Wed, Apr 24, 10:26 PM
Unknown Object (File)
Fri, Apr 12, 7:55 AM
Unknown Object (File)
Apr 3 2024, 4:17 PM
Unknown Object (File)
Mar 31 2024, 1:04 PM
Subscribers

Details

Summary

Ref T5105. This functionality is required in order to discover all .editorconfig files.

Test Plan

Wrote and executed unit tests.

Diff Detail

Repository
rPHU libphutil
Branch
filefinder
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 706
Build 706: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

joshuaspence retitled this revision from to Allow `FileFinder` to find paths which match a given path exactly..
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.

Two janitorial inlines.

src/filesystem/FileFinder.php
111

pls 2 clarifying parens T.T

or count() || count()?

227

This should probably be array_merge()? The initial elements of suffix will be overwritten:

$ php -r "print_r(array('example.js') + array('.js'));"
Array
(
    [0] => example.js
)
This revision now requires changes to proceed.May 26 2014, 5:25 PM
joshuaspence edited edge metadata.

Minor changes, as requested by @epriestley

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 27 2014, 11:36 PM
epriestley updated this revision to Diff 22097.

Closed by commit rPHUefa928f70307 (authored by @joshuaspence, committed by @epriestley).