-
Notifications
You must be signed in to change notification settings - Fork 33
feat: add hardlink when task is downloaded #1151
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Signed-off-by: Gaius <gaius.qi@gmail.com>
b90873f
to
2917d24
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1151 +/- ##
=======================================
Coverage 49.45% 49.45%
=======================================
Files 58 58
Lines 12085 12085
=======================================
Hits 5977 5977
Misses 6108 6108
🚀 New features to boost your workflow:
|
Description
This pull request includes updates to the
Cargo.toml
file and introduces new functionality in thedragonfly-client
project. The changes primarily involve version updates for dependencies and a new feature for handling hard links during task processing.Dependency Updates:
0.2.29
to0.2.30
inCargo.toml
. This includes all related dependencies such asdragonfly-client
,dragonfly-client-core
,dragonfly-client-config
, and others. [1] [2]New Feature:
dragonfly-client/src/resource/task.rs
to handle hard link creation for task files. The behavior depends on theforce_hard_link
setting:force_hard_link
istrue
, an error is returned immediately if hard link creation fails.force_hard_link
isfalse
, it falls back to copying the file if hard link creation fails.Related Issue
Motivation and Context
Screenshots (if appropriate)