Add comment above method

Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
Dimitris Karakasilis 2024-09-26 15:02:39 +03:00
parent a45cee2ebc
commit d3c864cd19
No known key found for this signature in database
GPG Key ID: 286DCAFD2C97DDE3

View File

@ -176,6 +176,11 @@ func GetYipConfigDirs() []string {
return append(GetUserConfigDirs(), "/system/oem")
}
// GetUserConfigDirs returns all the directories that might have configuration
// supplied by the user. They are in an order which allows the users to override
// baked-in configuration (e.g. in livecd, under /run/initramfs/live) with
// configuration coming from datasource (e.g. a datasource cdrom, written under /oem).
// That's why writable paths are last.
func GetUserConfigDirs() []string {
return []string{
"/run/initramfs/live",