fix(sync): scanner default ignore syncthing metadata (D-1)#1
Merged
Conversation
5ffa617 to
1c6b650
Compare
修复 D-1:Scanner 不自动排除元数据文件。 - 新增 DEFAULT_IGNORED_NAMES:.stfolder, .stversions, .stignore, config.json, cert.pem, key.pem, db, logs - 新增 DEFAULT_IGNORED_SUFFIXES:.syncthing.tmp, ~syncthing~ - 在 scan_directory 中先于 .stignore 检查应用默认排除 - 修复 pre-existing clippy error:将未在方法体内直接使用的 base_path 重命名为 _base_path(clippy::only_used_in_recursion) 验证: - cargo check --workspace ✅ - cargo clippy --workspace --all-targets -- -D warnings ✅ - cargo test --workspace ✅ (309 passed, 0 failed) 追踪:DUAL_NODE_TEST_2026-05-15.md D-1 / KNOWN_ISSUES.md §11
1c6b650 to
5ceb661
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix D-1: Scanner does not auto-exclude syncthing metadata files.
Verified: cargo check, clippy (-D warnings), test (309 passed), fmt all pass.