Documentation Index
Fetch the complete documentation index at: https://docs.aspect.build/llms.txt
Use this file to discover all available pages before exploring further.
Documentation for @bazel_lib@v3.2.0 — View source
Rule: directory_path
Provide DirectoryPathInfo to reference some path within a directory.
Otherwise there is no way to give a Bazel label for it.
Attributes
A unique name for this target.
a TreeArtifact (ctx.actions.declare_directory)
path relative to the directory
Function: make_directory_path
Helper function to generate a directory_path target and return its label.
Parameters
unique name for the generated
directory_path targetdirectory attribute passed to generated directory_path targetpath attribute passed to generated directory_path targetparameters to pass to generated
output_files targetname
Function: make_directory_paths
Helper function to convert a dict of directory to path mappings to directory_path targets and labels.
For example,
Parameters
The target name to use for the generated targets & labels.The names are generated as zero-indexed
name + "_" + iThe dictionary of directory keys to path or path list values.
additional parameters to pass to each generated target
directory_path targets named name + "_" + i
Provider: DirectoryPathInfo
Joins a label pointing to a TreeArtifact with a path nested within that directory.
Fields
directory
a TreeArtifact (ctx.actions.declare_directory)
path
path relative to the directory

