-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yml和yaml类型的配置文件应该是一样的吧? #4986
Comments
🤖 是的,你是对的。YML和YAML类型的配置文件是一样的。YAML是"YAML Ain't Markup Language"(YAML不是一种标记语言)的缩写,它是一种人类可读的数据序列化标准格式。YML是YAML的文件扩展名,两者在功能和语法上是完全相同的。 在Apollo配置管理系统中,我们确实支持YML和YAML两种文件格式。你可以在Apollo的源代码中看到,我们有一个JavaScript文件(yaml.min.js),它负责解析和转储YAML文件。这进一步证实了Apollo对YAML和YML文件格式的支持。 因此,无论你选择使用YML还是YAML作为你的配置文件扩展名,Apollo都能够正确处理。 参考源代码:
Sources
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days unless it is tagged "help wanted" or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 7 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted". Thank you for your contributions. |
我看可以创建yml和yaml格式的配置文件,这两个文件应该是一样的呢吧。
The text was updated successfully, but these errors were encountered: