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

Search Results for

    Class PathUtils

    Inheritance
    object
    PathUtils
    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 PathUtils

    Properties

    Name Description
    IsLinux
    IsWindows

    Methods

    Name Description
    AddExtensionPrefix(string, string)

    Adds a specified prefix to the extension of a file path.

    ExpandPath(string, string)

    Expands a relative path to an absolute path based on a provided root.

    FindLongestCommonPath(IReadOnlyList<string>)
    GenerateValidName(OSPath, Predicate<OSPath>)

    Creates a valid path name by appending a number to a base path name.

    GenerateValidName(Func<int, string>, Predicate<string>, int)
    GenerateValidName(string, Func<string, int, string>, Predicate<string>, int)

    Generates a valid path name by mutating a base path name.

    GenerateValidName(string, Predicate<string>)

    Creates a valid path name by appending a number to a base path name.

    GenerateValidName(string, Predicate<string>, Func<int, string>)

    Creates a valid path name by appending a number to a base path name.

    GetDepth(string)

    Calculates the depth of a directory path.

    GetLongestCommonPath(IReadOnlyList<string>)
    GetRootDirectory(IReadOnlyList<string>)
    GetRootDirectory(string)

    Determines the root directory of a given path.

    IsDirOrSubDir(string, string)

    Checks if a given path is a directory or a subdirectory of another.

    IsParentDir(string, string)

    Checks if a given path is a parent directory of another.

    IsReserved(string)

    Checks if a given file name is a reserved name in Windows.

    IsSamePath(FileSystemInfo, FileSystemInfo)

    Checks if the two provided paths are the same.

    IsSamePath(string, string)

    Checks if the two provided paths are the same.

    IsSubDir(string, string)

    Determines if a given path is a subdirectory of another path.

    IsValidWindowsFileName(string)

    Checks if a given file name is valid according to Windows file name rules.

    MakeValidFileName(string, char?)
    RemoveExtensions(string, ISet<string>)
    StripInvalidFileNameCharacters(string)

    Strips invalid characters from a given file name.

    2025 © Xab3r. All rights reserved.