original_docstring: 
      Removes all config and state files associated with the given configuration.
  
      :param config_name: The configuration to remove.
      
docstring: Removes all config and state files associated with the given configuration.
docstring_tokens: Removes all config and state files associated with the given configuration .
code: def remove_configuration(config_name: str) -> None:
      """
      Removes all config and state files associated with the given configuration.
  
      :param config_name: The configuration to remove.
      """
  
      MaestralConfig(config_name).cleanup()
      MaestralState(config_name).cleanup()
  
      data_path = get_data_path("maestral")
  
      files = []
  
      for file_name in os.listdir(data_path):
          if file_name.startswith(config_name):
              files.append(os.path.join(data_path, file_name))
  
      for file in files:
          try:
              os.unlink(file)
          except OSError:
              pass
code_tokens: def remove_configuration ( config_name : str ) -> None : MaestralConfig ( config_name ) . cleanup ( ) MaestralState ( config_name ) . cleanup ( ) data_path = get_data_path ( "maestral" ) files = [ ] for file_name in os . listdir ( data_path ) : if file_name . startswith ( config_name ) : files . append ( os . path . join ( data_path , file_name ) ) for file in files : try : os . unlink ( file ) except OSError : pass
short_docstring: Removes all config and state files associated with the given configuration.
short_docstring_tokens: Removes all config and state files associated with the given configuration .
comment: """
      Removes all config and state files associated with the given configuration.
  
      :param config_name: The configuration to remove.
      """