Runfile
bookmark_borderbookmark
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
报告问题open_in_new
查看源代码open_in_new
每夜 build
·
8.1
·
8.0
·
7.5
·
7.4
一个容器,其中包含有关运行时执行所需的一组文件的信息。此对象应通过 DefaultInfo 传递,以便告知构建系统规则生成的输出所需的 runfile。
如需了解详情,请参阅运行文件指南。
成员
empty_filenames
depset runfiles.empty_filenames
返回要创建的空文件的名称。
文件
depset runfiles.files
以文件的形式返回一组 runfile。
合并
runfiles runfiles.merge(other)
返回一个新的 runfiles 对象,其中包含此 runfiles 对象的所有内容和参数。
注意:如果您有许多要合并的 runfiles 对象,请使用 merge_all()
,而不是在循环中调用 merge
。这样可以避免构建深层 depset 结构,这可能会导致构建失败。
参数
参数 |
说明 |
other
|
runfiles;
必需
要合并到此文件中的 runfiles 对象。
|
merge_all
runfiles runfiles.merge_all(other)
返回一个新的 runfiles 对象,其中包含此 runfiles 对象以及参数中的 runfiles 对象的所有内容。
参数
参数 |
说明 |
other
|
runfiles 的序列;
必需
要合并到此 runfile 中的 runfile 对象的序列。
|
root_symlinks
depset runfiles.root_symlinks
返回一组根符号链接。
符号链接
depset runfiles.symlinks
返回一组符号链接。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-03-06。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-06。"],[],[]]