refactor(files): File Management System Architecture#12150
Draft
refactor(files): File Management System Architecture#12150
Conversation
ef093a0 to
52b4207
Compare
Member
|
Note This comment was translated by Claude.
Original Content
|
Collaborator
|
Note This comment was translated by Claude. Any updates on this? Original Content这个有什么进展吗🤔 |
Collaborator
Author
|
Note This comment was translated by Claude.
Let's move this forward. Original Content
近期推进一下 |
Add comprehensive documentation covering: - VS Code explorer tree implementation overview - Current notes file tree implementation - Existing file architecture problems - Current file management implementation details - RFC for new file manager design (single node table + file tree) These documents provide technical reference and design context for the file management system, highlighting current issues and proposed solutions.
af408fb to
787dab1
Compare
Collaborator
Author
|
@0xfullex design doc is ready |
6 tasks
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.
概要设计
架构
node表统一表达 file/dir/mount,邻接表树结构local_managed(Files):UUID 命名,DB 为 SoTlocal_external(Notes):人类可读命名,文件系统为 SoTremote(未来):远程 API + 本地缓存file_ref表追踪文件被哪些业务对象引用(多态:sourceType + sourceId)关键设计
previousParentId记录原位置数据模型
nodefile_ref实施阶段
风险
toFileMetadata()适配层过渡完整 RFC:
docs/file-manager/rfc-file-manager.md