namespace LocalServer.Models;
public class DirFileConfig
{
///
/// 本地-源根目录
///
public required string LocalRootPath { get; set; }
///
/// 远程-目标根目录
///
public required string RemoteRootPath { get; set; }
///
/// 排除的文件,它是根目录的相对路径
///
public List? ExcludeFiles { get; set; }
///
/// 除此外全部忽略,最高优先级,若有值,ExcludeFiles 将被忽略,它是根目录的相对路径
///
public List? CherryPickFiles { get; set; }
}
public class Config
{
public required string Name { get; set; }
public required string RemoteUrl { get; set; }
public List? DirFileConfigs { get; set; }
}