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

Path and methods #66

Open
xenoterracide opened this issue Nov 7, 2024 · 3 comments
Open

Path and methods #66

xenoterracide opened this issue Nov 7, 2024 · 3 comments

Comments

@xenoterracide
Copy link

any chance instead of returning Strings you could return Path objects? or does a Path end up not resolving correctly somehow?

also I feel like it would be better to abstract behind methods even if this ends up looking like a record api for now.

e.g

ProjectDirectories::cacheDir() // Path

@soc
Copy link
Collaborator

soc commented Nov 7, 2024

Back then Path was too new for the Java version supported, but I think now it's fine, so PR welcome! (Please wait after #61 is merged, though.)

@xenoterracide
Copy link
Author

When was back then? Wasn't Path introduced in like Java 6? My first version was 7 and I'm pretty sure it was already there.

@soc
Copy link
Collaborator

soc commented Nov 8, 2024

Path came in 7, the baseline for this library was Java 6.

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

No branches or pull requests

2 participants