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

fix(#1100): empty file resource returns true on exist #1114

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

tschlat
Copy link
Collaborator

@tschlat tschlat commented Jan 29, 2024

Fixes issue #1100:
An UrlResource pointing to an existing but empty file must return true on exist.

Also added a couple of tests.

@tschlat tschlat linked an issue Jan 29, 2024 that may be closed by this pull request
@tschlat tschlat self-assigned this Jan 29, 2024
@tschlat tschlat requested a review from bbortt January 29, 2024 13:00
Copy link
Collaborator

@bbortt bbortt left a comment

Choose a reason for hiding this comment

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

thank you very much! looks good to me in general, only some nitpicks.

@tschlat tschlat force-pushed the issue/1100/empty_file_resoures_exist branch from a8c00c2 to ee1198d Compare January 29, 2024 13:24
Copy link
Collaborator Author

@tschlat tschlat left a comment

Choose a reason for hiding this comment

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

Done

@tschlat tschlat requested a review from bbortt January 29, 2024 13:25
@bbortt bbortt force-pushed the issue/1100/empty_file_resoures_exist branch from ee1198d to a119504 Compare January 29, 2024 17:36
@bbortt
Copy link
Collaborator

bbortt commented Jan 29, 2024

Done

well thank you!

Copy link
Member

@christophd christophd left a comment

Choose a reason for hiding this comment

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

Awesome!

@christophd christophd merged commit 9228b01 into main Jan 31, 2024
1 check passed
@bbortt bbortt deleted the issue/1100/empty_file_resoures_exist branch February 1, 2024 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resources.UrlResource#exists returns false if file is empty
3 participants