Class DiffAlgorithms

    • Constructor Detail

      • DiffAlgorithms

        DiffAlgorithms()
    • Method Detail

      • run

        protected void run()
                    throws java.lang.Exception
        Perform the actions of this command.

        This method should only be invoked by TextBuiltin.execute(String[]).

        Specified by:
        run in class TextBuiltin
        Throws:
        java.lang.Exception - an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.
      • run

        private void run​(Repository repo)
                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • isFile

        private static boolean isFile​(TreeWalk tw,
                                      int ithTree)
      • included

        private static boolean included​(java.lang.String name,
                                        java.util.List<java.lang.String> want)