generateDigestForClassFile static method

String generateDigestForClassFile(
  1. DependencyVisitor visitor,
  2. String filePath
)

Calculates a MD5 digest of a given class file, considering it's dependencies as well

Implementation

static String generateDigestForClassFile(
  DependencyVisitor visitor,
  String filePath,
) {
  final dependencies = visitor.getDependenciesPath(filePath);
  return generateDigestForMultipleFile([filePath, ...dependencies]);
}