Table of Contents

Class PathExtensions

Namespace
Olve.Paths
Assembly
Olve.Paths.dll

Extension methods for IPath.

public static class PathExtensions
Inheritance
PathExtensions
Inherited Members

Methods

EnsurePathExists(IPath)

Ensures the directory at the given path exists, creating it if necessary.

public static bool EnsurePathExists(this IPath path)

Parameters

path IPath

The path to ensure exists as a directory.

Returns

bool

true if the directory was created; false if it already existed.