From c839244d8d09f3036ebfee8eef7eb6b147e593ab Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 00:10:22 +0900 Subject: fix(compile): fix various compile errors Co-Authored-By: Claude Sonnet 4.6 --- crates/shirabe/src/util/remote_filesystem.rs | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'crates/shirabe/src/util/remote_filesystem.rs') 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, - ::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 (connecting...)".to_string()), false, - ::NORMAL, + crate::io::io_interface::NORMAL, ); } @@ -352,7 +352,7 @@ impl RemoteFilesystem { base64_encode(result.as_deref().unwrap_or("")) )), true, - ::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, - ::NORMAL, + crate::io::io_interface::NORMAL, ); self.io.write_error( PhpMixed::List(vec![ @@ -409,7 +409,7 @@ impl RemoteFilesystem { )), ]), true, - ::NORMAL, + crate::io::io_interface::NORMAL, ); return self.get( @@ -498,7 +498,7 @@ impl RemoteFilesystem { PhpMixed::String("Downloading (failed)".to_string()), false, None, - ::NORMAL, + crate::io::io_interface::NORMAL, ); } @@ -533,7 +533,7 @@ impl RemoteFilesystem { )), false, None, - ::NORMAL, + crate::io::io_interface::NORMAL, ); } @@ -565,7 +565,7 @@ impl RemoteFilesystem { )), ]), true, - ::NORMAL, + crate::io::io_interface::NORMAL, ); return self.get( @@ -643,7 +643,7 @@ impl RemoteFilesystem { self.io.write_error( PhpMixed::String("".to_string()), true, - ::NORMAL, + crate::io::io_interface::NORMAL, ); self.io.write_error( PhpMixed::List(vec![ @@ -654,7 +654,7 @@ impl RemoteFilesystem { )), ]), true, - ::NORMAL, + crate::io::io_interface::NORMAL, ); return self.get( @@ -778,7 +778,7 @@ impl RemoteFilesystem { )), false, None, - ::NORMAL, + crate::io::io_interface::NORMAL, ); } } @@ -947,7 +947,7 @@ impl RemoteFilesystem { self.io.write_error( PhpMixed::String("".to_string()), true, - ::DEBUG, + crate::io::io_interface::DEBUG, ); self.io.write_error( PhpMixed::String(sprintf( @@ -958,7 +958,7 @@ impl RemoteFilesystem { ], )), true, - ::DEBUG, + crate::io::io_interface::DEBUG, ); additional_options.insert("redirects".to_string(), PhpMixed::Int(self.redirects)); -- cgit v1.3.1