JanetDocsPlaygroundI'm feeling luckyGitHub sign in

os/lstat



    cfunction

    (os/lstat path &opt tab|key)

    Like os/stat, but don't follow symlinks.


1 exampleSign in to add an example
Loading...
(os/lstat "t.janet")
# @{:size 249 :permissions "rw-r--r--" :nlink 1 :blocks 8 :dev 16777221 :accessed 1606236760 :modified 1606236759 :uid 501 :mode :file :blocksize 4096 :changed 1606236759 :inode 14801850 :rdev 0 :int-permissions 420 :gid 501}

(get (os/lstat "t.janet") :size)  # 249
btbytesPlayground