We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Consider storing stat results in a struct rather than indexing the st_flags attribute directly.
stat
st_flags
Something like this (untested):
struct BSDStatStruct st_dev::UInt64 st_mode::UInt64 st_nlink::UInt64 st_uid::UInt64 st_gid::UInt64 st_rdev::UInt64 st_ino::UInt64 st_size::UInt64 st_blksize::UInt64 st_blocks::UInt64 st_flags::UInt64 st_gen::UInt64 st_atime::Int st_mtim::Int st_ctim::Int st_birthtim::Int end function _st_flags(f::AbstractString) stat_t = Ref{BSDStatStruct}() ccall(:jl_lstat, Cvoid, (Cstring, Ref{BSDStatStruct}), f, stat_t) return stat_t.x.st_flags end
The text was updated successfully, but these errors were encountered:
Should also consider the same for statfs results. See #20.
statfs
Sorry, something went wrong.
No branches or pull requests
Consider storing
stat
results in a struct rather than indexing thest_flags
attribute directly.Something like this (untested):
The text was updated successfully, but these errors were encountered: