ctrl: allow to erasing training data leaving graph files

This commit is contained in:
jeefo 2025-01-31 20:40:08 +03:00
commit 4c5cf2503e
No known key found for this signature in database
GPG key ID: D696786B81B667C8
4 changed files with 24 additions and 4 deletions

View file

@ -88,7 +88,7 @@ public:
int32_t storageToBotFile (int32_t options);
// remove all bot related files from disk
void unlinkFromDisk ();
void unlinkFromDisk (bool onlyTrainingData);
public:
// loading the graph may attempt to recurse loading, with converting or download, reset retry counter