Class RefdFile

java.lang.Object
ghidra.formats.gfilesystem.RefdFile
All Implemented Interfaces:
Closeable, AutoCloseable

public class RefdFile extends Object implements Closeable
A GFile along with a FileSystemRef to keep the filesystem pinned in memory.

The caller is responsible for closing this object, which releases the FilesystemRef.

  • Field Details

  • Constructor Details

    • RefdFile

      public RefdFile(FileSystemRef fsRef, GFile file)
      Creates a RefdFile instance, taking ownership of the supplied fsRef.
      Parameters:
      fsRef - FileSystemRef that pins the filesystem open
      file - GFile file inside the specified filesystem
  • Method Details