Skip to content

Add st_mode properties for Fs.stat#69

Merged
aantron merged 2 commits intoaantron:masterfrom
bryphe:stat/add-kind
May 27, 2020
Merged

Add st_mode properties for Fs.stat#69
aantron merged 2 commits intoaantron:masterfrom
bryphe:stat/add-kind

Conversation

@bryphe
Copy link
Copy Markdown
Contributor

@bryphe bryphe commented May 27, 2020

Based on discussion in #68 - this adds additional properties for querying the Mode.t returned by the stat API. This is important for determining if the requested path is a directory, symlink, or file. Tested on OSX and Windows (MingW64)

Fixes #68

@aantron aantron merged commit dfab9df into aantron:master May 27, 2020
@aantron
Copy link
Copy Markdown
Owner

aantron commented May 27, 2020

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.

Question about Luv.File.stat and st_mode

2 participants