private void printAction()

in src/main/java/com/google/devtools/build/remote/client/RemoteClient.java [254:279]


  private void printAction(Digest actionDigest, int limit) throws IOException {
    Action action = getAction(actionDigest);
    Command command = getCommand(action.getCommandDigest());

    System.out.printf("Command [digest: %s]:\n", digestUtil.toString(action.getCommandDigest()));
    printCommand(command);

    Tree tree = cache.getTree(action.getInputRootDigest());
    System.out.printf(
        "\nInput files [total: %d, root Directory digest: %s]:\n",
        getNumFiles(tree), digestUtil.toString(action.getInputRootDigest()));
    listTree(Paths.get(""), tree, limit);

    System.out.println("\nOutput files:");
    printList(command.getOutputFilesList(), limit);

    System.out.println("\nOutput directories:");
    printList(command.getOutputDirectoriesList(), limit);

    System.out.println("\nPlatform:");
    if (command.hasPlatform() && !command.getPlatform().getPropertiesList().isEmpty()) {
      System.out.println(command.getPlatform().toString());
    } else {
      System.out.println("(none)");
    }
  }