Class LfsPointer

    • Field Detail

      • VERSION_LEGACY

        public static final String VERSION_LEGACY
        The version of the LfsPointer file format using legacy URL
        Since:
        4.7
        See Also:
        Constant Field Values
      • SIZE_THRESHOLD

        public static final int SIZE_THRESHOLD
        Don't inspect files that are larger than this threshold to avoid excessive reading. No pointer file should be larger than this.
        Since:
        4.11
        See Also:
        Constant Field Values
      • HASH_FUNCTION_NAME

        public static final String HASH_FUNCTION_NAME
        The name of the hash function as used in the pointer files. This will evaluate to "sha256"
    • Constructor Detail

      • LfsPointer

        public LfsPointer​(AnyLongObjectId oid,
                          long size)

        Constructor for LfsPointer.

        Parameters:
        oid - the id of the content
        size - the size of the content