Class GenerateVerificationCode

java.lang.Object
org.spdx.tools.GenerateVerificationCode

public class GenerateVerificationCode
extends Object
Generates a verification code for a specific directory
Author:
Gary O'Neall
  • Constructor Details

  • Method Details

    • main

      public static void main​(String[] args)
      Print an SPDX Verification code for a directory of files args[0] is the source directory containing the files args[1] is an optional regular expression of skipped files. The expression is applied against a file path relative the the source directory supplied
      Parameters:
      args -
    • generateVerificationCode

      public static org.spdx.library.model.SpdxPackageVerificationCode generateVerificationCode​(String directoryPath, @Nullable String skippedRegex) throws OnlineToolException
      Throws:
      OnlineToolException