mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-10 16:33:11 -06:00
Document what the purpose of the version field is
This commit is contained in:
parent
c4d34db748
commit
14a57a7d81
|
|
@ -36,6 +36,11 @@ const Version = "v0"
|
|||
// Relative paths are resolved relative to the current working directory
|
||||
type Dendrite struct {
|
||||
// The version of the configuration file.
|
||||
// If the version in a file doesn't match the current dendrite config
|
||||
// version then we can give a clear error message telling the user
|
||||
// to update their config file to the current version.
|
||||
// The version of the file should only be different if there has
|
||||
// been a breaking change to the config file format.
|
||||
Version string `yaml:"version"`
|
||||
|
||||
// The configuration required for a matrix server.
|
||||
|
|
|
|||
Loading…
Reference in a new issue