Table of Contents

Interface IDirectoryResolver

Namespace
GroupeIsa.Neos.Shared.IO
Assembly
GroupeIsa.Neos.Shared.dll

Represents a helper class for directory resolution. It provides the functionality to resolve a directory pattern into a list of matching directories. The pattern can include wildcards (* and ?) and can be rooted or relative. The method processes each segment of the pattern sequentially, handling wildcards and literal segments appropriately, and returns the final list of directories that match the entire pattern.

public interface IDirectoryResolver

Methods

ResolveDirectoryPattern(string)

Resolves a directory pattern into a list of matching directories. The pattern can include wildcards (* and ?) and can be rooted or relative. The method processes each segment of the pattern sequentially, handling wildcards and literal segments appropriately, and returns the final list of directories that match the entire pattern.

IEnumerable<string> ResolveDirectoryPattern(string pattern)

Parameters

pattern string

The directory pattern to resolve.

Returns

IEnumerable<string>

A list of matching directories.