Skip to content

Split a la claude#1427

Open
Seifert69 wants to merge 10 commits intomainfrom
split-claude
Open

Split a la claude#1427
Seifert69 wants to merge 10 commits intomainfrom
split-claude

Conversation

@Seifert69
Copy link
Copy Markdown
Contributor

No description provided.

Seifert69 and others added 7 commits March 12, 2026 13:14
Move unconditional I/O helpers (FileExists, GetAllFileBytesAsync,
WriteStreamAsync, DeleteFiles, BuildTempFilePath, EnsureDirectoryExists)
into a new FileHandlerShared class. UploadStorageManager delegates to it
and no longer holds a direct FileReaderWriter reference. FileHandlerShared
is registered in DI alongside UploadStorageManager.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Seifert69
Copy link
Copy Markdown
Contributor Author

I think this is worthy as a take 1 on splitting the upload/inbox mashup. It still retains a boolean IsDirectWrite in the class IncomingTransferStateItem but I think that's for a second round of cleanup and potentially unifying the PeerDriveIncomingFileUpdateService and PeerDriveIncomingTransferService

@Seifert69
Copy link
Copy Markdown
Contributor Author

The Windows errors seem to be unrelated to the code change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant