blob: 3e8cd550352bb6106ac0ef9eaee46c209c44424c [file] [log] [blame]
<html devsite>
<head>
<meta name="project_path" value="/_project.yaml">
<meta name="book_path" value="/versions/8.2.0/_book.yaml">
</head>
<body>
<h1 class="page-title" id="modules.PackageSpecificationInfo">PackageSpecificationInfo</h1>
{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/PackageSpecificationProviderApi.java" %}
{% dynamic setvar version "8.2.0" %}
{% dynamic setvar original_path "/rules/lib/providers/PackageSpecificationInfo" %}
{% include "_buttons.html" %}
<!-- {% raw %} -->
Information about transitive package specifications used in package groups.
<h2>Members</h2>
<ul>
<li>
<a href="#contains">contains</a>
</li>
</ul>
<h2 id="contains">contains</h2>
<p><pre class="rule-signature"><a class="anchor" href="../core/bool.html">bool</a> PackageSpecificationInfo.contains(target)</pre></p>
Checks if a target exists in a package group.
<!-- hide-from-toc is a class used by DevSite for the public Bazel site
(https://developers.google.com/devsite/reference/styles/headings#hide_headings_from_the_toc) -->
<h3 class="hide-from-toc">Parameters</h3>
<table class="table table-bordered table-condensed table-params">
<colgroup>
<col class="col-param">
<col class="param-description">
</colgroup>
<thead>
<tr>
<th>Parameter</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td id="contains.target">
<code>target</code>
</td>
<td>
<a class="anchor" href="../builtins/Label.html">Label</a>; or <a class="anchor" href="../core/string.html">string</a>;
required<br/>
A target which is checked if it exists inside the package group.
</td>
</tr>
</tbody>
</table>
</body>
</html>
<!-- {% endraw %} -->