AccountingNext/Schaad.Accounting.Common/DataFolders.cs
Claudio Schaad 1697517200 Remove dead and unused code (#16)
Co-authored-by: Claudio Schaad <c.schaad@pog.ch>
Co-committed-by: Claudio Schaad <c.schaad@pog.ch>
2026-10-30 21:46:10 +00:00

20 lines
617 B
C#

namespace Schaad.Accounting
{
/// <summary>
/// Folder layout below DataPath:
/// <code>
/// {DataPath}/{mandator}/{year}/*.json data files
/// {DataPath}/backup/{mandator}/{year}/ backup zips
/// </code>
/// </summary>
public static class DataFolders
{
public const string Backup = "backup";
/// <summary>
/// True for the top-level folders that are not mandators.
/// </summary>
public static bool IsReserved(string folderName)
=> folderName.Equals(Backup, System.StringComparison.OrdinalIgnoreCase);
}
}