Julia has a builtin for that, although it is not exported
julia> Base.Filesystem.filemode_string(filemode(“error.png”))
“-rw-rw-rw-”
It’s in here if you want the code
Julia has a builtin for that, although it is not exported
julia> Base.Filesystem.filemode_string(filemode(“error.png”))
“-rw-rw-rw-”
It’s in here if you want the code