-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export stat!
and add it to the manual
#50300
base: master
Are you sure you want to change the base?
Conversation
I know |
The methods are concretely typed on |
Perhaps it would be better to include something like length(buffer) < STAT_BUFFER_SIZE && resize!(buffer, STAT_BUFFER_SIZE) , if the size of the statbuffer is a compile time constant. It looks from const STAT_BUFFER_SIZE = Int(ccall(:jl_sizeof_stat, Int32, ())) and then have the conditional |
That sounds very reasonable, let me add it 😊 |
Then I would consider also not exposing |
stat!
and Base.Filesystem.get_stat_buf
and add to manualstat!
add to manual
stat!
add to manualstat!
and add it to the manual
Since #50323 was merged, I updated this PR to include the reverted changes. |
Just want to reiterate the comment #46410 (comment). |
This is a follow-up to #46410, which was merged before these new symbols were exported and added to the manual. This PR does that.