public static boolean saveToFolder(File basedir,FunktionConfig config,boolean overwriteIfExists) throws IOException {
  File file=new File(basedir,FunktionConfigs.FILE_NAME);
  if (file.exists()) {
    if (!overwriteIfExists) {
      LOG.warn("Not generating " + file + " as it already exists");
      return false;
    }
  }
  return saveConfig(config,file);
}

public static boolean saveToFolder ( File basedir , FunktionConfig config , boolean overwriteIfExists ) throws IOException { File file = new File ( basedir , FunktionConfigs . FILE_NAME ) ; if ( file . exists ( ) ) { if ( ! overwriteIfExists ) { LOG . warn ( "Not generating " + file + " as it already exists" ) ; return false ; } } return saveConfig ( config , file ) ; }
saves the funktion . yml file to the given project directory
