Class IdeRuntimeArtifactHasher

java.lang.Object
nl.pim16aap2.lightkeeper.runtime.IdeRuntimeArtifactHasher

public final class IdeRuntimeArtifactHasher extends Object
Canonically hashes files and directory trees used by IDE runtime preparation and validation.
  • Method Details

    • sha256

      public static String sha256(Path input) throws IOException
      Computes a SHA-256 identity for a regular file or directory tree.
      Parameters:
      input - Input path.
      Returns:
      Lowercase hexadecimal SHA-256.
      Throws:
      IOException - When the input is missing, contains a symbolic link, or cannot be read.