use of com.facebook.buck.distributed.thrift.FetchSourceFilesRequest in project buck by facebook.
the class DistBuildService method createFetchSourceFileRequest.
public static FrontendRequest createFetchSourceFileRequest(String fileHash) {
FetchSourceFilesRequest fetchSourceFileRequest = new FetchSourceFilesRequest();
fetchSourceFileRequest.setContentHashesIsSet(true);
fetchSourceFileRequest.addToContentHashes(fileHash);
FrontendRequest frontendRequest = new FrontendRequest();
frontendRequest.setType(FrontendRequestType.FETCH_SRC_FILES);
frontendRequest.setFetchSourceFilesRequest(fetchSourceFileRequest);
return frontendRequest;
}
Aggregations