Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
joente committed Feb 20, 2024
1 parent 33f7f93 commit a9d7aca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/ti/collection.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,12 @@ int ti_collection_rename(
return 0;
}

/*
* Check if a collection is really empty. Note that futures aren't checked,
* this is not required but keep in mind that they might exist and want to
* modify the collection afterwards. Allowing futures allows for a module to
* load an export and use import to restore the collection.
*/
int ti_collection_check_empty(ti_collection_t * collection, ex_t * e)
{
const char * pf = "collection not empty;";
Expand Down

0 comments on commit a9d7aca

Please sign in to comment.