Package ghidra.formats.gfilesystem

# Interface GFileHashProvider

All Known Implementing Classes:
  `LocalFileSystem`

public interface GFileHashProvider
GFileSystem add-on interface that provides MD5 hashing for file located within the filesystem

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getMD5Hash(GFile file, boolean required, TaskMonitor monitor)`
  Returns the MD5 hash of the specified file.

- ## Method Details

  - ### getMD5Hash

    String getMD5Hash(GFile file, boolean required, TaskMonitor monitor) throws CancelledException, IOException
    Returns the MD5 hash of the specified file.
    Parameters:
      `file` - the `GFile`
      `required` - boolean flag, if true the hash will always be returned, even if it has to be calculated. If false, the hash will be returned if easily available
      `monitor` - `TaskMonitor`
    Returns:
      MD5 hash as a string
    Throws:
      `CancelledException` - if cancelled
      `IOException` - if error