JanetDocsI'm feeling luckyGithub sign in

os/perm-int



    cfunction

    (os/perm-int bytes)
    
    Parse a 9 character permission string and return an integer that can
    be used by chmod.


1 exampleSign in to add an example
Loading...
(os/perm-int "rw-r--r--")  # => 420
(os/perm-int "rwxr-xr-x")  # => 493

# note:
8r644  # => 420
8r755  # => 493
cellularmitosis