Method DeleteAllAsync
- Namespace
- Oscova.Agents.Memory
- Assembly
- Oscova.Agents.dll
DeleteAllAsync(string?, bool, CancellationToken)
Deletes every concept outside an excluded directory and rebuilds the entry index once.
public Task<string> DeleteAllAsync(string? excludedDirectory, bool snapshot, CancellationToken ct = default)Parameters
excludedDirectorystring?-
Directory kept untouched, such as daily memory, or null for the whole store.
snapshotbool-
Replaces the sibling
.bakfolder with the store's files before deleting. ctCancellationToken-
Cancels the wait for the store gate.