EyeAuras Docs EyeAuras Docs
EyeAuras Docs EyeAuras Docs
DocFX + Singulink = ♥

Search Results for

    Class FileUtils

    Inheritance
    object
    FileUtils
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    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[])
    © Xab3r. All rights reserved.