-
Notifications
You must be signed in to change notification settings - Fork 79
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
fix: Review session updates #1964
Conversation
...d-storage/src/main/java/com/google/cloud/storage/transfermanager/ParallelDownloadConfig.java
Outdated
Show resolved
Hide resolved
...ud-storage/src/main/java/com/google/cloud/storage/transfermanager/TransferManagerConfig.java
Show resolved
Hide resolved
...ud-storage/src/main/java/com/google/cloud/storage/transfermanager/TransferManagerConfig.java
Outdated
Show resolved
Hide resolved
google-cloud-storage/src/main/java/com/google/cloud/storage/transfermanager/UploadCallable.java
Outdated
Show resolved
Hide resolved
/** | ||
* A common prefix that is applied to downloaded objects before they are written to the | ||
* filesystem. | ||
*/ | ||
public @NonNull String getPrefix() { | ||
return prefix; | ||
} |
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.
This isn't currently being used but DownloadCallable
.
Instead of prefix
what if we change this to baseDirectory
or downloadDirectory
and instead of String
we use Path
. That way, when download job is creating files it can resolved them from this directory AND validate the output path of the object after resolution is still below the output path.
What do you think?
We don't have to make this change in this PR, doing it in a follow up would be better.
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.
I am onboard with that change. I will update in a followup.
…ansfermanager/ParallelDownloadConfig.java Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
…ansfermanager/TransferManagerConfig.java Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com>
* chore: update dependency versions in java templates * update other templates Source-Link: googleapis/synthtool@0b86c72 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:68ba5f5164a4b55529d358bb262feaa000536a0c62980727dd05a91bbb47ea5e
* chore: update dependency versions in java templates * update other templates Source-Link: googleapis/synthtool@0b86c72 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:68ba5f5164a4b55529d358bb262feaa000536a0c62980727dd05a91bbb47ea5e Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Changes from review session with @BenWhitehead
Summary of changes: