Files
JiDe Zhang cf0d072d28 feat: Add symlink support to DCI analysis
1. Added support for detecting and displaying symlinks in the DCI
analysis tree structure.
2. Modified `_generate_tree_structure` to check for symlinks using
the `reader` object (if available) and include symlink information
in the file info.  The `reader` object (currently only implemented
in the frontend) provides access to the raw file structure, allowing
identification of symlinks based on file type.
3. Modified `_format_metadata_lines` to include an indicator if a file
is a symlink.
4. Updated the DCI analysis output to display a symlink icon and target
path for symbolic links.
5. Added internationalization strings for "Symlink" and "Target".
6. This enhances the accuracy and completeness of the DCI analysis
by correctly identifying and representing symbolic links within the
directory structure.  It relies on frontend processing to provide
`reader.directory_structure` metadata.  If this information is not
available, symlink detection will not occur.

Log: Added display of symlinks in DCI analysis output

Influence:
1. Create DCI files containing symbolic links.
2. Verify that the DCI analysis correctly identifies and displays
symlinks with their target paths.
3. Test with valid and invalid symlink targets.
4. Test with and without the presence of a `reader` object (to verify
graceful degradation when file metadata is not available from the
frontend).
5. Verify that the UI correctly displays symlink information (icon and
target path).

feat: 为 DCI 分析添加符号链接支持

1. 增加了在 DCI 分析树结构中检测和显示符号链接的支持。
2. 修改了 `_generate_tree_structure` 以使用 `reader` 对象(如果可用)检
查符号链接,并将符号链接信息包含在文件信息中。`reader` 对象(目前仅在前
端实现)提供对原始文件结构的访问,从而可以根据文件类型识别符号链接。
3. 修改了 `_format_metadata_lines`,如果文件是符号链接,则包含指示符。
4. 更新了 DCI 分析输出,以显示符号链接的符号链接图标和目标路径。
5. 添加了“符号链接”和“目标”的国际化字符串。
6. 这通过正确识别和表示目录结构中的符号链接来提高 DCI 分析的准确性和完整
性。它依赖于前端处理来提供`reader.directory_structure`元数据。如果此信息
不可用,则不会发生符号链接检测。

Log: 在 DCI 分析输出中添加了符号链接的显示

Influence:
1. 创建包含符号链接的 DCI 文件。
2. 验证 DCI 分析是否正确识别并显示带有其目标路径的符号链接。
3. 使用有效和无效的符号链接目标进行测试。
4. 在存在和不存在 `reader` 对象的情况下进行测试(以验证当前端没有可用的
文件元数据时的优雅降级)。
5. 验证 UI 是否正确显示符号链接信息(图标和目标路径)。
2025-10-27 15:57:40 +08:00
..
2025-10-27 14:21:41 +08:00