Function: bazel--file-location

bazel--file-location is a natively compiled function defined in bazel.el.

Signature

(bazel--file-location FILENAME)

Documentation

Return an ‘xref-location’ for the source file FILENAME.

Source Code

;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
(defun bazel--file-location (filename)
  "Return an ‘xref-location’ for the source file FILENAME."
  (declare (ftype (function (string) xref-location)))
  (cl-check-type filename string)
  ;; The location actually refers to the whole file.  Avoid jumping around
  ;; within the already-visited file by pretending the reference isn’t found so
  ;; that we return point.
  (bazel--xref-location filename (lambda ())))