Skip to content

fix(doubao): update file size type to int64 #8289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 3, 2025

Conversation

xrgzs
Copy link
Contributor

@xrgzs xrgzs commented Apr 3, 2025

Copy link

Walkthrough

This pull request updates the data type for file size and timestamps in the Doubao driver from int to int64. This change ensures that larger file sizes and more precise timestamps can be handled, addressing potential overflow issues with the previous int type.

Changes

File Summary
drivers/doubao/driver.go Updated the handling of Size, Modified, and Ctime fields to use int64 directly without casting.
drivers/doubao/types.go Changed the data types of Size, CreateTime, and UpdateTime from int to int64 to accommodate larger values.
🪧 Tips For further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me.

@xhofe xhofe merged commit 3764022 into AlistGo:main Apr 3, 2025
12 checks passed
@xrgzs xrgzs deleted the fix/doubao-size-type branch April 6, 2025 14:49
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.

2 participants