GetCachePath(IReadOnlyFileSystem, NormalizedPath) Method
Gets a cache path by combining it with the root path and cache path.
Namespace
Statiq.Common
Containing Type
IReadOnlyFileSystemExtensions

Syntax

public static NormalizedPath GetCachePath(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)

Parameters

Name Type Description
fileSystem IReadOnlyFileSystem The file system.
path NormalizedPath The path to combine with the root path and cache path. If this is Null, returns the root path combined with the cache path.

Return Value

Type Description
NormalizedPath The cache path.