diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-16 16:25:50 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-16 17:34:46 +0900 |
| commit | 652860a48d0ea5db5f9b20ed98ff69a98d32c656 (patch) | |
| tree | 91347941e1da603f690ec445e393fd0a47299195 /Cargo.lock | |
| parent | 1747352a5b4995eee390ba9eba2e77ec2c1e4586 (diff) | |
| download | php-shirabe-652860a48d0ea5db5f9b20ed98ff69a98d32c656.tar.gz php-shirabe-652860a48d0ea5db5f9b20ed98ff69a98d32c656.tar.zst php-shirabe-652860a48d0ea5db5f9b20ed98ff69a98d32c656.zip | |
fix(symfony-finder): fail SplFileInfo::get_size on a failed stat
\SplFileInfo::getSize() throws a \RuntimeException when stat fails, and
neither Symfony's subclass nor Composer's Filesystem::directorySize()
catches it. Returning 0 turned an unreadable file into an empty one.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2257,6 +2257,7 @@ dependencies = [ name = "shirabe-symfony-finder" version = "0.0.1" dependencies = [ + "anyhow", "chrono", "indexmap", "regex", |
