Skip to content

Commit

Permalink
Document --digest_function startup flag
Browse files Browse the repository at this point in the history
This flag is in use in production today (e.g. when using `blake3`).

Closes #20747.

PiperOrigin-RevId: 597704594
Change-Id: I92b5cfc4bf70c86d50049c6881f7b5f4fb7d30be
  • Loading branch information
brentleyjones authored and copybara-github committed Jan 12, 2024
1 parent a326bc3 commit 6d30214
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -402,18 +402,15 @@ public String getTypeDescription() {
help = "The maximum amount of time the client waits to connect to the server")
public int localStartupTimeoutSecs;

// TODO(b/109764197): Add OptionDocumentationCategory.BAZEL_CLIENT_OPTIONS & remove the
// experimental tag once this has been tested and is ready for use.
@Option(
name = "digest_function",
defaultValue = "null",
converter = DigestHashFunction.DigestFunctionConverter.class,
documentationCategory = OptionDocumentationCategory.UNDOCUMENTED,
documentationCategory = OptionDocumentationCategory.BAZEL_CLIENT_OPTIONS,
effectTags = {
OptionEffectTag.LOSES_INCREMENTAL_STATE,
OptionEffectTag.BAZEL_INTERNAL_CONFIGURATION
},
metadataTags = OptionMetadataTag.EXPERIMENTAL,
help = "The hash function to use when computing file digests.")
public DigestHashFunction digestHashFunction;

Expand Down

0 comments on commit 6d30214

Please sign in to comment.