Package ghidra.framework.store.local

# Interface FileChangeListener

public interface FileChangeListener
Defines a file change listener interface.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `fileModified(File file)`
  Used to notify a listener that the specified file has been modified.
  `void`
  `fileRemoved(File file)`
  Used to notify a listener that the specified file has been removed.

- ## Method Details

  - ### fileModified

    void fileModified(File file)
    Used to notify a listener that the specified file has been modified. If the file watcher was created with a lock file, the lock will be set on behalf of the caller. This method should not attempt to alter the lock.
    Parameters:
      `file` - the modified file.

  - ### fileRemoved

    void fileRemoved(File file)
    Used to notify a listener that the specified file has been removed. If the file watcher was created with a lock file, the lock will be set on behalf of the caller. This method should not attempt to alter the lock.
    Parameters:
      `file` - the removed file.