Skip to main content
Bazel Documentation home page
HEAD
English
Search...
⌘K
Module Registry
Blog
Github
Search...
Navigation
root
About Bazel
Getting started
User guide
Reference
Extending
Community
Concepts
Extension Overview
Writing rules
Rules Tutorial
Creating a Symbolic Macro
Creating a Legacy Macro
Using Macros to Create Custom Verbs
Language
.bzl style guide
Challenges of Writing Rules
Windows
Distributing rules
Testing
Optimizing Performance
Deploying Rules
APIs
One-Page Overview
Global functions
On this page
Members
path
root
A root for files. The roots are the directories containing files, and they are mapped together into a single directory tree to form the execution environment.
Members
path
path
Copy
Ask AI
string root.path
Returns the relative path from the exec root to the actual root.
⌘I