This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy under /_llms/. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation

IFolderMetadataProvider Pennington.Content

Optional capability for a IContentService to surface FolderMetadata rows discovered during its own scan (for example, _meta.yml sidecars under a markdown content tree).

Methods

GetFolderMetadataAsync

#
public Task<ImmutableList<FolderMetadata>> GetFolderMetadataAsync()

Returns the folder-metadata rows declared by this provider's content.

Returns

Task<ImmutableList<FolderMetadata>>

Pennington.Content.IFolderMetadataProvider

namespace Pennington.Content;

/// Optional capability for a IContentService to surface FolderMetadata rows discovered during its own scan (for example, _meta.yml sidecars under a markdown content tree).
public interface IFolderMetadataProvider
{
    /// Returns the folder-metadata rows declared by this provider's content.
    
public Task<ImmutableList<FolderMetadata>> GetFolderMetadataAsync()
; }