AbstractSupplementaryFileContainer and DictSupplementaryFileContainer are extended by a delete_file() method, that allows deleting files from them. Since different files may have the same content, references to the files contents in DictSupplementaryFileContainer._store are tracked via _store_refcount. A files contents are only deleted from _store, if all filenames referring to these these contents are deleted, i.e. if the refcount reaches 0.
AbstractSupplementaryFileContainer
andDictSupplementaryFileContainer
are extended by adelete_file()
method, that allows deleting files from them. Since different files may have the same content, references to the files contents inDictSupplementaryFileContainer._store
are tracked via_store_refcount
. A files contents are only deleted from_store
, if all filenames referring to these these contents are deleted, i.e. if the refcount reaches 0.