Function: vc-dir-create-fileinfo

vc-dir-create-fileinfo is a byte-compiled function defined in vc-dir.el.gz.

Signature

(vc-dir-create-fileinfo NAME STATE &optional EXTRA MARKED DIRECTORY)

Documentation

Constructor for objects of type vc-dir-fileinfo.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-dir.el.gz
;; Used to store information for the files displayed in the directory buffer.
;; Each item displayed corresponds to one of these defstructs.
(cl-defstruct (vc-dir-fileinfo
            (:copier nil)
            (:type list)            ;So we can use `member' on lists of FIs.
            (:constructor
             ;; We could define it as an alias for `list'.
	     vc-dir-create-fileinfo (name state &optional extra marked directory))
            (:conc-name vc-dir-fileinfo->))
  name                                  ;Keep it as first, for `member'.
  state
  ;; For storing backend specific information.
  extra
  marked
  ;; To keep track of not updated files during a global refresh
  needs-update
  ;; To distinguish files and directories.
  directory)