diff options
Diffstat (limited to 'icing/store/dynamic-trie-key-mapper.h')
-rw-r--r-- | icing/store/dynamic-trie-key-mapper.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/icing/store/dynamic-trie-key-mapper.h b/icing/store/dynamic-trie-key-mapper.h index 35d2200..63e8488 100644 --- a/icing/store/dynamic-trie-key-mapper.h +++ b/icing/store/dynamic-trie-key-mapper.h @@ -60,12 +60,15 @@ class DynamicTrieKeyMapper : public KeyMapper<T, Formatter> { Create(const Filesystem& filesystem, std::string_view base_dir, int maximum_size_bytes); - // Deletes all the files associated with the DynamicTrieKeyMapper. Returns - // success or any encountered IO errors + // Deletes all the files associated with the DynamicTrieKeyMapper. // // base_dir : Base directory used to save all the files required to persist // DynamicTrieKeyMapper. Should be the same as passed into // Create(). + // + // Returns + // OK on success + // INTERNAL_ERROR on I/O error static libtextclassifier3::Status Delete(const Filesystem& filesystem, std::string_view base_dir); |