mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 01:13:10 -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
|
// Relative paths are resolved relative to the current working directory
|
||||||
type Dendrite struct {
|
type Dendrite struct {
|
||||||
// The version of the configuration file.
|
// 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"`
|
Version string `yaml:"version"`
|
||||||
|
|
||||||
// The configuration required for a matrix server.
|
// The configuration required for a matrix server.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue