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

Correctly resolve children for custom Paths #137

Merged
merged 5 commits into from
Jan 9, 2025

Conversation

Sohalt
Copy link
Contributor

@Sohalt Sohalt commented Jan 9, 2025

Please answer the following questions and leave the below in as part of your PR.

Sohalt added 2 commits January 9, 2025 20:28
Previously trying to resolve a child relative to a parent using a custom
Path implementation would fail, since the child would get converted to a
platform native path, which results in incompatibilities. e.g.

(fs/path (fs/path (java.net.URI. "gs://my-bucket/my-dir")) "my-file")
;; throws java.nio.file.ProviderMismatchException
test/babashka/fs_test.clj Outdated Show resolved Hide resolved
@borkdude borkdude merged commit 603b290 into babashka:master Jan 9, 2025
7 checks passed
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