Add a clarification to the `sibling` parameter of declare_diretory that it must be in the current package.
This is the same documentation as `declare_file` and a cursory inspection of the implementation reveals that this must be the case.
RELNOTES: None.
@@ -94,7 +94,9 @@ public interface StarlarkActionFactoryApi extends StarlarkValue {
+ "('sibling' defines a directory)."),
@Param(
name = "sibling",
- doc = "A file that lives in the same directory as the newly declared directory.",
+ doc =
+ "A file that lives in the same directory as the newly declared directory. "
+ + "The file must be in the current package.",
allowedTypes = {
@ParamType(type = FileApi.class),
@ParamType(type = NoneType.class),
