FSUtilities

Package: ghidra.formats.gfilesystem
Type: class

12.0_PUBLIC

addedmethod: mirroredProjectPath
static java.lang.String mirroredProjectPath(java.lang.String path)
addedmethod: splitPath
static java.lang.String[] splitPath(java.lang.String path)

11.4_PUBLIC

addedmethod: uncheckedClose
static void uncheckedClose(java.lang.AutoCloseable c, java.lang.String msg)
removedmethod: uncheckedClose
static void uncheckedClose(java.io.Closeable c, java.lang.String msg)

11.2_PUBLIC

addedmethod: getFileType
static ghidra.formats.gfilesystem.fileinfo.FileType getFileType(java.io.File f)
addedmethod: getMD5
static java.lang.String getMD5(java.io.InputStream is, java.lang.String name, long expectedLength, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
addedmethod: isSymlink
static boolean isSymlink(java.io.File f)
addedmethod: readSymlink
static java.lang.String readSymlink(java.io.File f)
removedmethod: getMD5
static java.lang.String getMD5(java.io.InputStream is, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException

10.1_PUBLIC

addedmethod: copyByteProviderToFile
static long copyByteProviderToFile(ghidra.app.util.bin.ByteProvider provider, java.io.File destFile, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
addedmethod: formatFSTimestamp
static java.lang.String formatFSTimestamp(java.util.Date d)
addedmethod: formatSize
static java.lang.String formatSize(java.lang.Long length)
addedmethod: getLines
static java.util.List<java.lang.String> getLines(ghidra.app.util.bin.ByteProvider byteProvider) throws IOException
addedmethod: getMD5
static java.lang.String getMD5(ghidra.app.util.bin.ByteProvider provider, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
addedmethod: getMD5
static java.lang.String getMD5(java.io.InputStream is, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
addedmethod: uncheckedClose
static void uncheckedClose(java.io.Closeable c, java.lang.String msg)
modifiedmethod: streamCopy
return type: StreamCopyResult → long
- static ghidra.formats.gfilesystem.FSUtilities.StreamCopyResult streamCopy(java.io.InputStream is, java.io.OutputStream os, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
+ static long streamCopy(java.io.InputStream is, java.io.OutputStream os, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException
removedmethod: getStreamMD5
static java.lang.String getStreamMD5(java.io.InputStream is, ghidra.util.task.TaskMonitor monitor) throws IOException, CancelledException

9.0.1_PUBLIC

introducedInitial version