Class Constants


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

      • Constants

        public Constants()
    • Method Detail

      • 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.