Table of Contents

Class PathHelper

Namespace
Bonsai.IO
Assembly
Bonsai.System.dll

Provides a set of static methods for creating and manipulating directory and file names.

public static class PathHelper
Inheritance
PathHelper
Inherited Members

Methods

AppendFileCount(string)

Appends a file count suffix to a file name without modifying its original extension.

AppendSuffix(string, PathSuffix)

Appends the specified well known suffix type to a file name without modifying the extension.

AppendSuffix(string, string)

Appends the specified suffix to a file name without modifying its original extension.

AppendTimestamp(string, DateTimeOffset)

Appends a timestamp suffix to a file name without modifying its original extension.

EnsureDirectory(string)

Checks that all folders along the specified path exist and attempts to create any missing ones.