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