Skip to content
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

chore: refactor snapshot expanding logic #4003

Merged
merged 1 commit into from
Oct 28, 2024
Merged

chore: refactor snapshot expanding logic #4003

merged 1 commit into from
Oct 28, 2024

Conversation

romange
Copy link
Collaborator

@romange romange commented Oct 28, 2024

S3 and file expansion logic had some duplicate code. this PR refactors it before adding GCS support.

S3 and file expansion logic had some duplicate code.
this PR refactors it before adding GCS support.

Signed-off-by: Roman Gershman <[email protected]>

// Collect all other files in case we're loading dfs.
if (absl::EndsWith(load_path, "summary.dfs")) {
auto res = ExpandFromPath(load_path);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This call is snapshot specific now. Similarly CheckPath()

@romange romange merged commit c271060 into main Oct 28, 2024
12 checks passed
@romange romange deleted the Pr3 branch October 28, 2024 08:08
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