Skip to content

✨ feat(builtin): add file_exists builtin function#1786

Merged
harehare merged 2 commits into
mainfrom
feat/file-exists-builtin
May 25, 2026
Merged

✨ feat(builtin): add file_exists builtin function#1786
harehare merged 2 commits into
mainfrom
feat/file-exists-builtin

Conversation

@harehare
Copy link
Copy Markdown
Owner

Add file_exists builtin under the file-io feature flag that checks whether a file exists at a given path and returns a boolean value. Also add unit tests covering existing files, nonexistent paths, and invalid argument types.

harehare added 2 commits May 25, 2026 21:31
Add `file_exists` builtin under the `file-io` feature flag that checks
whether a file exists at a given path and returns a boolean value.
Also add unit tests covering existing files, nonexistent paths, and
invalid argument types.

close #1784
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented May 25, 2026

Merging this PR will not alter performance

✅ 29 untouched benchmarks


Comparing feat/file-exists-builtin (b42d9b9) with main (6a69972)

Open in CodSpeed

@harehare harehare merged commit 5bb174d into main May 25, 2026
10 checks passed
@harehare harehare deleted the feat/file-exists-builtin branch May 25, 2026 13:09
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