Page MenuHomeDevCentral

Solve basic CMS interaction needs with files and directories
Needs ReviewPublic

Authored by dereckson on Sat, Aug 22, 04:21.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

Obsidian Workpaces searches files with a specific patterns in a directory
to list them or read them as filesystem database.

Add convenient utilities method to File and Directory to support those needs.

Test Plan

Tested with Obsidian Workspaces code in D4185.

Diff Detail

Repository
rKERUALD Keruald libraries development repository
Lint
Lint Passed
Unit
Test Failures
Branch
new-io-methods
Build Status
Buildable 6829
Build 7117: arc lint + arc unit

Event Timeline

dereckson created this revision.

Tests pass:

$ phpunit omnitools/tests/
Switching to Composer phpunit:
PHPUnit 12.5-dev by Sebastian Bergmann and contributors.

Runtime:       PHP 8.4.21
Configuration: /datacube/dereckson/dev/nasqueron/keruald/keruald/phpunit.xml

...............................................................  63 / 740 (  8%)
............................................................... 126 / 740 ( 17%)
............................................................... 189 / 740 ( 25%)
............................................................... 252 / 740 ( 34%)
............................................................... 315 / 740 ( 42%)
............................................................... 378 / 740 ( 51%)
............................................................... 441 / 740 ( 59%)
............................................................... 504 / 740 ( 68%)
............................................................... 567 / 740 ( 76%)
............................................................... 630 / 740 ( 85%)
............................................................... 693 / 740 ( 93%)
...............................................                 740 / 740 (100%)

Time: 00:00.609, Memory: 10.00 MB

OK (740 tests, 2091 assertions)