GetCacheFile(IReadOnlyFileSystem, NormalizedPath) Method
Gets a file representing a cache file.
Namespace
Statiq.Common
Containing Type
IReadOnlyFileSystemExtensions

Syntax

public static IFile GetCacheFile(this IReadOnlyFileSystem fileSystem, in NormalizedPath path)

Parameters

Name Type Description
fileSystem IReadOnlyFileSystem The file system.
path NormalizedPath If this is an absolute path, then a file representing the specified path is returned. If it's a relative path, then it will be combined with the current cache path.

Return Value

Type Description
IFile A cache file.