diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-19 00:10:22 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-19 00:11:03 +0900 |
| commit | c839244d8d09f3036ebfee8eef7eb6b147e593ab (patch) | |
| tree | fe48c94f2c2e62468beef5ff1a8f3cff6adeef4f /crates/shirabe/src/util/remote_filesystem.rs | |
| parent | 48839250146b217e2756ed3c0e624fd341b54d6c (diff) | |
| download | php-shirabe-c839244d8d09f3036ebfee8eef7eb6b147e593ab.tar.gz php-shirabe-c839244d8d09f3036ebfee8eef7eb6b147e593ab.tar.zst php-shirabe-c839244d8d09f3036ebfee8eef7eb6b147e593ab.zip | |
fix(compile): fix various compile errors
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/util/remote_filesystem.rs')
| -rw-r--r-- | crates/shirabe/src/util/remote_filesystem.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/crates/shirabe/src/util/remote_filesystem.rs b/crates/shirabe/src/util/remote_filesystem.rs index 0674df4..d2658fe 100644 --- a/crates/shirabe/src/util/remote_filesystem.rs +++ b/crates/shirabe/src/util/remote_filesystem.rs @@ -263,7 +263,7 @@ impl RemoteFilesystem { using_proxy )), true, - <dyn IOInterface>::DEBUG, + crate::io::io_interface::DEBUG, ); if (!Preg::is_match("{^http://(repo\\.)?packagist\\.org/p/}", &file_url).unwrap_or(false) @@ -277,7 +277,7 @@ impl RemoteFilesystem { self.io.write_error( PhpMixed::String("Downloading (<comment>connecting...</comment>)".to_string()), false, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); } @@ -352,7 +352,7 @@ impl RemoteFilesystem { base64_encode(result.as_deref().unwrap_or("")) )), true, - <dyn IOInterface>::DEBUG, + crate::io::io_interface::DEBUG, ); return Err(anyhow::anyhow!(e)); @@ -398,7 +398,7 @@ impl RemoteFilesystem { self.io.write_error( PhpMixed::String("".to_string()), true, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); self.io.write_error( PhpMixed::List(vec![ @@ -409,7 +409,7 @@ impl RemoteFilesystem { )), ]), true, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); return self.get( @@ -498,7 +498,7 @@ impl RemoteFilesystem { PhpMixed::String("Downloading (<error>failed</error>)".to_string()), false, None, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); } @@ -533,7 +533,7 @@ impl RemoteFilesystem { )), false, None, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); } @@ -565,7 +565,7 @@ impl RemoteFilesystem { )), ]), true, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); return self.get( @@ -643,7 +643,7 @@ impl RemoteFilesystem { self.io.write_error( PhpMixed::String("".to_string()), true, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); self.io.write_error( PhpMixed::List(vec![ @@ -654,7 +654,7 @@ impl RemoteFilesystem { )), ]), true, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); return self.get( @@ -778,7 +778,7 @@ impl RemoteFilesystem { )), false, None, - <dyn IOInterface>::NORMAL, + crate::io::io_interface::NORMAL, ); } } @@ -947,7 +947,7 @@ impl RemoteFilesystem { self.io.write_error( PhpMixed::String("".to_string()), true, - <dyn IOInterface>::DEBUG, + crate::io::io_interface::DEBUG, ); self.io.write_error( PhpMixed::String(sprintf( @@ -958,7 +958,7 @@ impl RemoteFilesystem { ], )), true, - <dyn IOInterface>::DEBUG, + crate::io::io_interface::DEBUG, ); additional_options.insert("redirects".to_string(), PhpMixed::Int(self.redirects)); |
