Back to Bazel

Root

docs/versions/8.4.0/rules/lib/builtins/root.mdx

9.1.0958 B
Original Source
<html devsite> <head> <meta name="project_path" value="/_project.yaml"> <meta name="book_path" value="/versions/8.4.0/_book.yaml"> </head> <body> <h1 class="page-title" id="modules.root">root</h1>

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/FileRootApi.java" %} {% dynamic setvar version "8.4.0" %} {% dynamic setvar original_path "/rules/lib/builtins/root" %} {% include "_buttons.html" %}

<!-- {% raw %} -->

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.

<h2>Members</h2> <ul> <li> <a href="#path">path</a> </li> </ul>
  <h2 id="path">path</h2>
    <p><pre class="rule-signature"><a class="anchor" href="../core/string.html">string</a> root.path</pre></p>

Returns the relative path from the exec root to the actual root.
</body> </html> <!-- {% endraw %} -->