public static LayersConfig getLayersConfig ( final File repoRoot ) throws IOException { final File layersList = new File ( repoRoot , LAYERS_CONF ) ; if ( ! layersList . exists ( ) ) { return new LayersConfig ( ) ; } final Properties properties = PatchUtils . loadProperties ( layersList ) ; return new LayersConfig ( properties ) ; }
Process the layers . conf file .