Function: bazel--locate-workspace-file
bazel--locate-workspace-file is a natively compiled function defined
in bazel.el.
Signature
(bazel--locate-workspace-file DIRECTORY)
Documentation
Return the file name of the Bazel WORKSPACE file in DIRECTORY.
Return nil if DIRECTORY doesn’t contain a WORKSPACE file. DIRECTORY can be a directory name or directory file name.
Source Code
;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
(defun bazel--locate-workspace-file (directory)
"Return the file name of the Bazel WORKSPACE file in DIRECTORY.
Return nil if DIRECTORY doesn’t contain a WORKSPACE file.
DIRECTORY can be a directory name or directory file name."
(declare (ftype (function (string) (or string null))))
(cl-check-type directory string)
(bazel--locate-file "WORKSPACE" (list directory) '(".bazel" "")))