aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/docgen
diff options
context:
space:
mode:
authorGravatar Nathan Harmata <nharmata@google.com>2016-08-17 18:10:35 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2016-08-18 08:30:46 +0000
commitbb5d5efb4b50710241b5b374eb67084f4bf08278 (patch)
treec8e3dfc3d146cec4cce103f95803ba2902d08cbb /src/main/java/com/google/devtools/build/docgen
parent823f72f7f978267414f6b59d24210c9743ba6b13 (diff)
RELNOTES: The string list returned by the skylark 'glob' function is now sorted. Previously, it would return a list formed by concatenating the sorted results of each pattern in the 'includes' list.
A bunch of cleanups and one bug fix: -Remove the unused-except-for tests GlobCache#globsUpToDate. This code has been dead for a very very long time, ever since we switched to using Skyframe. -Change the semantics of the 'glob' function as described above. -Change UnixGlob to return unsorted results. Document this in UnixGlob and GlobCache. -Change LegacyGlobber to conditionally return sorted results. Have users other than PackageFunction get sorted results (as described above). Have PackageFunction's use case get completely unsorted results, and have PackageFunction do the sorting itself. -Have PackageFunction's HybridGlobber unconditionally sort the glob result list. This ensure deterministic glob results, fixing a bug where the order of the elements of the result depended on the contents of the Skyframe graph, which of course depends on the sequence of incremental Blaze commands. -- MOS_MIGRATED_REVID=130540152
Diffstat (limited to 'src/main/java/com/google/devtools/build/docgen')
-rw-r--r--src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
index 780716cfe1..33e0a4634a 100644
--- a/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
+++ b/src/main/java/com/google/devtools/build/docgen/templates/be/functions.vm
@@ -402,7 +402,7 @@ This wildcard can only be used as a complete path segment. For example,
and <code>"**.java"</code> are both illegal. No other wildcards are supported.
</p>
<p>
-Glob returns a list of every file in the current package that:
+Glob returns a sorted list of every file in the current package that:
</p>
<ul>
<li>Matches at least one pattern in <code>include</code>. </li>