Class FileUtils
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public static class FileUtils
Methods
Name | Description |
---|---|
CopyDirectory(DirectoryInfo, DirectoryInfo) | |
CopyDirectory(DirectoryInfo, DirectoryInfo, Predicate<FileInfo>) | |
CopyFile(string, string, bool, int) | Copies a file from a source path to a destination path. This method uses low-level file streams instead of File.Copy (which uses Kernel32.CopyFileEx internally) to make it more compatible with file system virtualization methods which often(at least 2 of them) forget to hook them |
CopyFileToTemp(FileInfo) | Creates a temporary copy of the specified file and returns a FileStream for it. The temporary file will be deleted upon closing the returned FileStream. |
RemoveDirectoryIfEmpty(DirectoryInfo) | |
RemoveEverythingInside(DirectoryInfo) | |
Seek(Stream, byte[]) |