Search in sources :

Example 1 with FetchSourceFilesRequest

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;
}
Also used : FrontendRequest(com.facebook.buck.distributed.thrift.FrontendRequest) FetchSourceFilesRequest(com.facebook.buck.distributed.thrift.FetchSourceFilesRequest)

Aggregations

FetchSourceFilesRequest (com.facebook.buck.distributed.thrift.FetchSourceFilesRequest)1 FrontendRequest (com.facebook.buck.distributed.thrift.FrontendRequest)1