diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-08-09 11:15:55 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-08-09 11:15:55 +0900 |
| commit | 64e02ef08f0f479937fc194f79eac997327a79dd (patch) | |
| tree | c32eab75e60f300242b65296937cb3ceffbe02b1 /crates/shirabe/src | |
| parent | 446f719f6c34453f027d5ccdbf81b16e63f4c982 (diff) | |
| download | php-shirabe-64e02ef08f0f479937fc194f79eac997327a79dd.tar.gz php-shirabe-64e02ef08f0f479937fc194f79eac997327a79dd.tar.zst php-shirabe-64e02ef08f0f479937fc194f79eac997327a79dd.zip | |
refactor(symfony-filesystem): extract symfony/filesystem into the shirabe-symfony-filesystem crate
Move `Symfony\Component\Filesystem` out of shirabe-external-packages and
into its own crate, so the path is
`shirabe_symfony_filesystem::Filesystem` instead of
`shirabe_external_packages::symfony::filesystem::Filesystem`.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src')
| -rw-r--r-- | crates/shirabe/src/downloader/path_downloader.rs | 2 | ||||
| -rw-r--r-- | crates/shirabe/src/util/filesystem.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/crates/shirabe/src/downloader/path_downloader.rs b/crates/shirabe/src/downloader/path_downloader.rs index 6a496c6a..2f385e8e 100644 --- a/crates/shirabe/src/downloader/path_downloader.rs +++ b/crates/shirabe/src/downloader/path_downloader.rs @@ -21,11 +21,11 @@ use crate::util::HttpDownloader; use crate::util::Platform; use crate::util::ProcessExecutor; use indexmap::IndexMap; -use shirabe_external_packages::symfony::filesystem::Filesystem as SymfonyFilesystem; use shirabe_php_shim::{ PHP_WINDOWS_VERSION_MAJOR, PHP_WINDOWS_VERSION_MINOR, PhpMixed, RuntimeException, file_exists, function_exists, impl_php_class, is_dir, realpath, }; +use shirabe_symfony_filesystem::Filesystem as SymfonyFilesystem; #[derive(Debug)] pub struct PathDownloader { diff --git a/crates/shirabe/src/util/filesystem.rs b/crates/shirabe/src/util/filesystem.rs index 9adefce7..bf7107f7 100644 --- a/crates/shirabe/src/util/filesystem.rs +++ b/crates/shirabe/src/util/filesystem.rs @@ -3,7 +3,6 @@ use crate::util::Platform; use crate::util::ProcessExecutor; use crate::util::Silencer; -use shirabe_external_packages::symfony::filesystem::exception::IOException; use shirabe_external_packages::symfony::finder::Finder; use shirabe_pcre::Preg; use shirabe_php_shim::{ @@ -15,6 +14,7 @@ use shirabe_php_shim::{ strlen, strpos, strtoupper, strtr, substr, substr_count, symlink, touch, unlink, usleep, var_export, }; +use shirabe_symfony_filesystem::exception::IOException; use std::path::Path; #[derive(Debug)] |
