Function: vc-src-responsible-p

vc-src-responsible-p is a byte-compiled function defined in vc-src.el.gz.

Signature

(vc-src-responsible-p FILE)

Documentation

Return the directory if SRC thinks it would be responsible for FILE.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-src.el.gz
(defun vc-src-responsible-p (file)
  "Return the directory if SRC thinks it would be responsible for FILE."
  (let ((dir (expand-file-name ".src"
                               (if (file-directory-p file)
                                   file
                                 (file-name-directory file)))))
    (and (file-directory-p dir)
         dir)))