Function: bazel-workspace-root

bazel-workspace-root is a natively compiled function defined in bazel.el.

Signature

(bazel-workspace-root bazel-workspace-root X)

Documentation

Access slot "root" of bazel-workspace struct X.

The repository root directory.

Source Code

;; Defined in /nix/store/ws8pkszjvcad1rgzqw6wja7qxacylfhn-emacs-packages-deps/share/emacs/site-lisp/elpa/bazel-20261002.1510/bazel.el
;; This structure is marked ‘:noinline’ because it’s public, and inlining
;; accessors would break clients that are compiled against a version with an
;; incompatible layout.
(cl-defstruct (bazel-workspace :noinline)
  "Represents a Bazel repository."
  ;; This structure ought to be called ‘bazel-repository’, but we stick to the
  ;; old name since it’s public.
  (root nil
        :read-only t
        :type string
        :documentation "The repository root directory."))