是否为YamlFile文件
static bool isYaml(String? path) => path?.contains( RegExp('yaml\$', caseSensitive: false), ) ?? false;