Skip to content
This repository has been archived by the owner on Feb 18, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants