Skip to content

Introduce TypedPath - #184

Merged
nedtwigg merged 4 commits into
mainfrom
feat/typed-path
Jan 31, 2024
Merged

Introduce TypedPath#184
nedtwigg merged 4 commits into
mainfrom
feat/typed-path

Conversation

@nedtwigg

Copy link
Copy Markdown
Member

In the guts package we had a Path class which was a java.io.File in the JVM and a String in JS. This was extremely confusing.

Path has been replaced by TypedPath, which is just a String absolutePath where a trailing slash is used to signify that the path is or isn't a folder. This makes a lot of the "path math" we do easier and cheaper.

Note that this is technically a breaking change to the public API of the lib package, but the guts package is meant to be private.

@nedtwigg
nedtwigg merged commit 4378401 into main Jan 31, 2024
@nedtwigg
nedtwigg deleted the feat/typed-path branch January 31, 2024 22:28
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.

1 participant