AssetArchiveDirectoryOptions class

Namespace Runic.Assets in Runic.Assets 0.23.0

public sealed class AssetArchiveDirectoryOptions

Selects the entry point and the files left out when AssetArchive packs a directory.

Constructors

AssetArchiveDirectoryOptions

public AssetArchiveDirectoryOptions()

No documentation.

Properties

EntryPoint

public string EntryPoint { get; init; }

Gets the entry document relative to the directory, with / separators. Defaults to index.html. It must exist and must not be excluded.

ExcludeDefaultPatterns

public bool ExcludeDefaultPatterns { get; init; }

Gets whether .git directories and files, and files whose names start with .env (such as .env.local or .envrc), are left out at any depth. Names are compared without case. Defaults to true; set false to pack them.

ExcludedPaths

public ImmutableArray<string> ExcludedPaths { get; init; }

Gets exact asset paths, relative to the directory with / separators, to leave out. Empty by default.