Function: dired-async--small-file-p
dired-async--small-file-p is a natively compiled function defined in
dired-async.el.
Signature
(dired-async--small-file-p FILE &optional ATTRS)
Documentation
Return non-nil if FILE is considered small.
File is considered small if it size is smaller than
dired-async-small-file-max.
Source Code
;; Defined in /nix/store/jhxqyr2zk061dl3wd3vm38lw3zin47b9-emacs-packages-deps/share/emacs/site-lisp/elpa/async-20260729.1431/dired-async.el
(defun dired-async--small-file-p (file &optional attrs)
"Return non-nil if FILE is considered small.
File is considered small if it size is smaller than
`dired-async-small-file-max'."
(let ((a (or attrs (file-attributes file))))
;; Directories are always large since we can't easily figure out
;; their total size.
(and (not (dired-async--directory-p a))
(< (file-attribute-size a) dired-async-small-file-max))))