-
Notifications
You must be signed in to change notification settings - Fork 285
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add FilesSample type with filesSample and totalFileCount, use when fe…
…tching files Summary: Use a dedicated type with a subset of all files, combined with the count of all files. This way, the UI can know the total number of files but only render or use a subset, and also know when it's using a subset or if it knows all the files. This matches what already exists in `CommitInfo`, but we can use this when fetching just files without the rest of the CommitInfo. Reviewed By: quark-zju Differential Revision: D57458042 fbshipit-source-id: 8bde18f0ce6de7d550a901d59d831b2ed678a791
- Loading branch information
1 parent
a76bfd2
commit b87081d
Showing
4 changed files
with
15 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters