removeSource method

Future<void> removeSource(
  1. int sourceId
)

Remove a source and all its chunks from the database.

Implementation

Future<void> removeSource(int sourceId) async {
  _startOperation();
  try {
    await _ragService.removeSource(sourceId);
  } finally {
    _endOperation();
  }
}