Skip to content

Convenience getters for stat{,x} structs - #1725

Open
samu698 wants to merge 1 commit into
bytecodealliance:mainfrom
samu698:main
Open

samu698 wants to merge 1 commit into
bytecodealliance:mainfrom
samu698:main

Conversation

@samu698

@samu698 samu698 commented Oct 30, 2026

Copy link
Copy Markdown

Add getter methods to get a FileType or a Mode value from a stat or a statx
value, checking also if the value is available in statx, by checking the stx_mask

Also added methods to get file times from a stat value

Add methods to get FileType and Mode for stat and statx, also add
methods to stat to get file times
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