feat: easier filesystem access #13

Closed
opened 2024-10-30 22:33:25 +01:00 by JeremyStarTM · 2 comments
Owner

Feature description

I want an even simpler way for accessing and manipulating files. Java's built-in methods require more manual work, are scattered across various classes and are sometimes a bit confusing. Putting everything into one class with a simple API would greatly improve the developer experience if done correct.

Feature implementation

I'd propose creating one class for accessing files. Each instance represents one file or directory.

Feature alternatives

No response

### Feature description I want an even simpler way for accessing and manipulating files. Java's built-in methods require more manual work, are scattered across various classes and are sometimes a bit confusing. Putting everything into one class with a simple API would greatly improve the developer experience if done correct. ### Feature implementation I'd propose creating one class for accessing files. Each instance represents one file or directory. ### Feature alternatives _No response_
JeremyStarTM added the
FeatureRequest
New
label 2024-10-30 22:33:25 +01:00
Author
Owner

Removing the need for File.separator and instead using slashes for traversing paths and replacing them with whatever File.separator is would be a nice thing. Also providing some default paths, like a home or cache directory would be a great addition.

Removing the need for `File.separator` and instead using slashes for traversing paths and replacing them with whatever `File.separator` is would be a nice thing. Also providing some default paths, like a home or cache directory would be a great addition.
JeremyStarTM added
FeatureRequest
Accepted
and removed
FeatureRequest
New
labels 2024-10-31 16:11:08 +01:00
Author
Owner

Added in ed1c8b9d3e and 0966a43d5e.

Added in ed1c8b9d3e918dd76f6077abb836ba953958e791 and 0966a43d5ed2d7cec276b11fd8218cc4f9722a04.
JeremyStarTM added
FeatureRequest
Implemented
and removed
FeatureRequest
Accepted
labels 2024-11-03 18:55:13 +01:00
JeremyStarTM added this to the v1-release0 milestone 2024-11-03 18:55:36 +01:00
JeremyStarTM modified the milestone from v1-release0 to v1-alpha8 2024-11-03 19:02:37 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: StarOpenSource/Engine#13
No description provided.