Feature/scanner performance optimization (#498)

* Refactor: reimplement scanner

Signed-off-by: RustFS Developer <dandan@rustfs.com>

* comment lock

Signed-off-by: junxiang Mu <1948535941@qq.com>

* remove dirty file

Signed-off-by: junxiang Mu <1948535941@qq.com>

* Fix: fix rebase

* fix(scanner): Improve error handling and logging

Signed-off-by: junxiang Mu <1948535941@qq.com>

---------

Signed-off-by: RustFS Developer <dandan@rustfs.com>
Signed-off-by: junxiang Mu <1948535941@qq.com>
Co-authored-by: RustFS Developer <dandan@rustfs.com>
This commit is contained in:
guojidan
2025-09-08 18:35:45 +08:00
committed by GitHub
parent 44f3eb7244
commit 9d5ed1acac
47 changed files with 6710 additions and 496 deletions
+1 -1
View File
@@ -751,7 +751,7 @@ mod tests {
#[test]
fn test_detect_file_type_utf8_text() {
// Test UTF-8 text detection
let utf8_content = "Hello, 世界! 🌍".as_bytes();
let utf8_content = "Hello, World! 🌍".as_bytes();
let result = S3Client::detect_file_type(None, utf8_content);
match result {
DetectedFileType::Text => {}