Skip to content

Commit

Permalink
feat(proto): add a proto field to signify whether a file is protected (
Browse files Browse the repository at this point in the history
…#5308)

* feat(proto): add a proto field to signify whether a file is protected

* fix: add comment
  • Loading branch information
wcalandro committed Jun 15, 2022
1 parent e770a7b commit d08fbe6
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 201 deletions.
3 changes: 3 additions & 0 deletions kythe/proto/serving.proto
Expand Up @@ -186,6 +186,9 @@ message FileInfo {
// Hash of the file contents; the algorithm of the hash may differ between
// corpora based on the repository from which they were extracted.
kythe.proto.common.Hash hash = 3;

// Signifies whether the file is view-protected in some context.
bool protected = 4;
}

// FileDecorations stores a file's contents and all contained anchor edges.
Expand Down

0 comments on commit d08fbe6

Please sign in to comment.