Skip to content

Added path::is_link support - #3480

Merged
lerno merged 3 commits into
c3lang:masterfrom
ssenthilnathan3:feat/path-is-link
Aug 30, 2026
Merged

Added path::is_link support#3480
lerno merged 3 commits into
c3lang:masterfrom
ssenthilnathan3:feat/path-is-link

Conversation

@ssenthilnathan3

@ssenthilnathan3 ssenthilnathan3 commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Closes #3448.

  • Uses lstat on Linux, Android, Darwin, BSD, and Emscripten.
  • Uses FILE_ATTRIBUTE_REPARSE_POINT on Windows.
  • Adds the required platform-specific libc lstat bindings.
  • Returns false for missing paths, consistent with path::is_file and path::is_dir.
  • Detects dangling symbolic links on POSIX platforms.

@lerno
lerno merged commit 5ca2797 into c3lang:master Aug 30, 2026
@lerno

lerno commented Aug 30, 2026

Copy link
Copy Markdown
Collaborator

Thank you!

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.

Request for is_link method under path module

2 participants