Class Constants

java.lang.Object
org.eclipse.jgit.lfs.lib.Constants

public final class Constants extends Object
Misc. constants used throughout JGit LFS extension.
Since:
4.3
  • Field Details

  • Constructor Details

    • Constants

      public Constants()
  • Method Details

    • newMessageDigest

      public static MessageDigest newMessageDigest()
      Create a new digest function for objects.
      Returns:
      a new digest object.
      Throws:
      RuntimeException - this Java virtual machine does not support the required hash function. Very unlikely given that JGit uses a hash function that is in the Java reference specification.