Package ghidra.framework.data

# Class RootGhidraFolderData

java.lang.Object
ghidra.framework.data.RootGhidraFolderData

public class RootGhidraFolderData extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected LocalFileSystem`
  `fileSystem`
  `protected FileSystem`
  `versionedFileSystem`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `containsFile(String fileName)`
  Check for existence of file.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### fileSystem

    protected LocalFileSystem fileSystem

  - ### versionedFileSystem

    protected FileSystem versionedFileSystem

- ## Method Details

  - ### containsFile

    public boolean containsFile(String fileName) throws IOException
    Check for existence of file. If folder previously visited, rely on fileDataCache
    Parameters:
      `fileName` - the name of the file to look for
    Returns:
      true if this folder contains the fileName, else false
    Throws:
      `IOException` - if an IO error occurs while checking for file existance

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`