docs: document that digest can be empty in some cases
WorkRequest proto does not specify whether the digest is present all the time. Since digest can be null in some cases, it should be documented here to clear any confusion.
See:
Closes
@@ -27,7 +27,8 @@ message Input {
string path = 1;
// A hash-value of the contents. The format of the contents is unspecified and
- // the digest should be treated as an opaque token.
+ // the digest should be treated as an opaque token. This can be empty in some
+ // cases.
bytes digest = 2;
}
