// RegisterRoot registers FIOMaps.
// To be used inside of init() function of plugins.
// If FIO is enabled due to configuration, also enable it.
// If not, only register in in Disabled state.
RegisterRoot registers FIOMaps.
To be used inside of init() function of plugins.
If FIO is enabled due to configuration, also enable it.
If not, only register in in Disabled state.
// RegisterRoot registers FIOMaps . // To be used inside of init () function of plugins . // If FIO is enabled due to configuration also enable it . // If not only register in in Disabled state .
func RegisterRoot(fm *FIOMap) {
	for _, enabledfio := range enabledFIOs {
		if fm.Root.FIOPath() == enabledfio {
			fm.Enabled = true
		}
	}
	fiomaps[fm.Root.FIOPath()] = fm
}
func RegisterRoot ( fm * FIOMap ) { for _ , enabledfio := range enabledFIOs { if fm . Root . FIOPath ( ) == enabledfio { fm . Enabled = true } } fiomaps [ fm . Root . FIOPath ( ) ] = fm }
RegisterRoot registers FIOMaps.
RegisterRoot registers FIOMaps .