whole_func_string: function removeSource(state, action) {
    const new_sources = Object.assign({}, state.sources);
    delete new_sources[action.sourceName];
    return Object.assign({}, state, {
      sources: new_sources,
    }, incrementVersion(state.metadata, SOURCE_VERSION_KEY));
  }
func_code_string: function removeSource(state, action) {
    const new_sources = Object.assign({}, state.sources);
    delete new_sources[action.sourceName];
    return Object.assign({}, state, {
      sources: new_sources,
    }, incrementVersion(state.metadata, SOURCE_VERSION_KEY));
  }
func_documentation_string: Remove a source from the state.
  @param {Object} state Current state.
  @param {Object} action Action to handle.
  
  @returns {Object} The new state.