chickadee » posix-extras » stat-type

stat-type sprocedure

File type for stat vector S as a symbol, one of:

regular-file
directory
fifo
socket
symbolic-link
character-device
block-device
;; Example

(stat-type (file-stat "~/.emacs.d"))
;=> directory