Skip to content

feat: resolve path function#59

Merged
bcpeinhardt merged 9 commits into
bcpeinhardt:mainfrom
folospior:main
Mar 14, 2026
Merged

feat: resolve path function#59
bcpeinhardt merged 9 commits into
bcpeinhardt:mainfrom
folospior:main

Conversation

@folospior

@folospior folospior commented Mar 7, 2026

Copy link
Copy Markdown
Contributor

Created a function - simplifile.resolve(path), which will resolve a relative path to an absolute path through a FFI and expands the path.

Also updated the Gleam version to avoid using the deprecated gleeunit/should module. I wanted to implement more tests, but most of them pretty much fail on Windows.

Closes #57

Comment thread test/simplifile_test.gleam
Comment thread src/simplifile.gleam Outdated
Comment thread src/simplifile_js.mjs Outdated
@folospior folospior requested a review from bcpeinhardt March 8, 2026 19:47
Comment thread test/simplifile_test.gleam
Comment thread src/simplifile_js.mjs Outdated
Comment thread src/simplifile.gleam Outdated
@folospior folospior requested a review from bcpeinhardt March 12, 2026 12:31

@bcpeinhardt bcpeinhardt left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can dig it 😎

@bcpeinhardt bcpeinhardt merged commit b069f42 into bcpeinhardt:main Mar 14, 2026
1 check 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.

Proposal for adding simplifile.resolve(path)

2 participants